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 021f4ac..f25fdc8 100644 --- a/src/game/units.cpp +++ b/src/game/units.cpp @@ -196,6 +196,7 @@ void unit_t::die(unit_t *killer) dead = true; death_time = game->now; cmodel.cflags = 0; + move.path.clear(); sleep(); ignore_waking = true; @@ -428,7 +429,6 @@ void unit_soldier_t::on_think(void) move.path.clear(); move.path.push_back(x + t * 10); panic_turn = game->now + 0.3; - std::cout << "panic_turn to " << x + t * 10 << "\n"; } } } |