From 9a9a57930b8874b6352fb3ae364716e82e917adb Mon Sep 17 00:00:00 2001 From: Aki Date: Thu, 30 Sep 2021 16:50:25 +0200 Subject: Fixed weird behaviour of preprocessor FIXME: investigate what is actually happening in here --- Stars45/CombatUnit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Stars45') diff --git a/Stars45/CombatUnit.cpp b/Stars45/CombatUnit.cpp index 7efc017..c9f4432 100644 --- a/Stars45/CombatUnit.cpp +++ b/Stars45/CombatUnit.cpp @@ -46,7 +46,7 @@ #include "Game.h" // +----------------------------------------------------------------------+ - +#undef random inline double random() { return (double) rand() / (double) RAND_MAX; } // +----------------------------------------------------------------------+ -- cgit v1.1