From 48f82598b147358316d6bcf9803df1d14de35143 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Tue, 19 Dec 2017 12:04:37 +0100 Subject: Don't mix path finding and moving cflags. --- src/game/units.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game') 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; -- cgit