summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2017-12-18 20:37:20 +0000
committerPaweł Redman <pawel.redman@gmail.com>2017-12-18 20:37:20 +0000
commitf37b490bc7b0ed020d388755f890505033da7bdc (patch)
treeffce019838a4040e30cecf889ef8a7bbdf5c4f98
parent858a4f56c3899798fea179eb275b4fcbf55e601f (diff)
Fix spiders going to sleep for no reason (again).
-rw-r--r--src/game/units.cpp2
1 files changed, 1 insertions, 1 deletions
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();
}