diff options
| -rw-r--r-- | src/world.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/src/world.cpp b/src/world.cpp index e326bf3..f4aca63 100644 --- a/src/world.cpp +++ b/src/world.cpp @@ -85,7 +85,7 @@ bool world_t::find_path(v2f_t src, v2f_t dst, cmodel_t *cmodel, entity_t *ignore  		index = finder.base + tile_index_t(x, y); -		if (tiles[get_tile(index)->type] & cmodel->cflags) +		if (!(tiles[get_tile(index)->type] & cmodel->cflags))  			continue;  		combined[0] = v2f_t(index)  - cmodel_dims / 2;  | 
