diff options
author | Aki <please@ignore.pl> | 2021-09-30 16:50:25 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2021-09-30 16:50:25 +0200 |
commit | 9a9a57930b8874b6352fb3ae364716e82e917adb (patch) | |
tree | e8a0f24df54d3a9a311cacf95291f17cf89f8d92 /Stars45/CombatUnit.cpp | |
parent | e4b65c26834cce00edfd8af15acc094aedb3cfe7 (diff) | |
download | starshatter-9a9a57930b8874b6352fb3ae364716e82e917adb.zip starshatter-9a9a57930b8874b6352fb3ae364716e82e917adb.tar.gz starshatter-9a9a57930b8874b6352fb3ae364716e82e917adb.tar.bz2 |
Fixed weird behaviour of preprocessor
FIXME: investigate what is actually happening in here
Diffstat (limited to 'Stars45/CombatUnit.cpp')
-rw-r--r-- | Stars45/CombatUnit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } // +----------------------------------------------------------------------+ |