From f37b490bc7b0ed020d388755f890505033da7bdc Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Mon, 18 Dec 2017 20:37:20 +0000 Subject: Fix spiders going to sleep for no reason (again). --- src/game/units.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/units.cpp b/src/game/units.cpp index ef7fc6f..ed40e9b 100644 --- a/src/game/units.cpp +++ b/src/game/units.cpp @@ -525,7 +525,7 @@ void unit_spider_t::on_think(void) keep_moving(7.0); - if (!move.moving && wake_time + 5 > game->now) + if (!move.moving && wake_time + 5 < game->now) sleep(); } -- cgit