diff options
Diffstat (limited to 'src/game/units.cpp')
-rw-r--r-- | src/game/units.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/units.cpp b/src/game/units.cpp index 691a099..4e2b2aa 100644 --- a/src/game/units.cpp +++ b/src/game/units.cpp @@ -161,7 +161,7 @@ bool unit_t::start_moving(v2f_t dst) move.dst = dst; move.path.clear(); - rep.cflags = move.cflags; + rep.cflags = move.cflags & ~(cmodel.cflags); rep.bounds = cmodel.bounds; if (!world->find_path(x, move.dst, &rep, this, &move.path)) { |