diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2017-12-19 12:04:37 +0100 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2017-12-19 12:04:37 +0100 |
commit | 48f82598b147358316d6bcf9803df1d14de35143 (patch) | |
tree | d1b9778067247b38076e202a369bb855b2fceaaf /src | |
parent | 31919da4452d02a399fe10c79a2bad90e52fd200 (diff) |
Don't mix path finding and moving cflags.
Diffstat (limited to 'src')
-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 50b3639..f760304 100644 --- a/src/game/units.cpp +++ b/src/game/units.cpp @@ -122,7 +122,7 @@ bool unit_t::keep_moving(double speed) } cmodel_next.bounds = size + x_new; - cmodel_next.cflags = move.cflags; + cmodel_next.cflags = cmodel.cflags; if (!world->test_rect(&cmodel_next, this)) { x = x_new; cmodel = cmodel_next; |