From 7d43c4e7ad6b83a23516b26b4aebf74f398c251b Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Tue, 17 Oct 2017 23:13:04 +0200 Subject: Fix a bug in entity linking. --- src/game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game.cpp') diff --git a/src/game.cpp b/src/game.cpp index 2af7736..59b8ad9 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -56,7 +56,7 @@ void state_t::tick(void) } if (human.stalin < -4.0f) - human.stalin = 2.0f; + human.stalin = (float)rand() / RAND_MAX * 3.0f; } } -- cgit