major cleanup of preprocessor hell
[rocksndiamonds.git] / src / game_sp / BugsTerminals.c
index 94850270bda47c678974308fedc64dca8b88a5fb..afa7345e8bf40d7a843b5df8cdbf18667cecdd3f 100644 (file)
@@ -5,11 +5,7 @@
 #include "BugsTerminals.h"
 
 
-#if 1
 byte TerminalState[SP_MAX_PLAYFIELD_SIZE + SP_HEADER_SIZE];
-#else
-byte *TerminalState;
-#endif
 
 int TerminalMaxCycles;
 
@@ -127,7 +123,7 @@ void subAnimateTerminals(int si)
 
 void subRandomize()
 {
-  long Tick = MyGetTickCount();
+  int Tick = MyGetTickCount();
 
   RandomSeed = (Tick ^ (Tick >> 16)) & 0xFFFF;
 }