summaryrefslogtreecommitdiffhomepage
path: root/Stars45
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2021-09-30 16:50:25 +0200
committerAki <please@ignore.pl>2021-09-30 16:50:25 +0200
commit9a9a57930b8874b6352fb3ae364716e82e917adb (patch)
treee8a0f24df54d3a9a311cacf95291f17cf89f8d92 /Stars45
parente4b65c26834cce00edfd8af15acc094aedb3cfe7 (diff)
downloadstarshatter-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')
-rw-r--r--Stars45/CombatUnit.cpp2
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; }
// +----------------------------------------------------------------------+