Fix some cake bugs
authorunc0rr
Mon, 01 Jun 2009 18:30:48 +0000
changeset 2141 3b06505dbd5d
parent 2140 75e5c4fcae2a
child 2142 48ed98cfd119
Fix some cake bugs
INSTALL
hedgewars/GSHandlers.inc
--- a/INSTALL	Mon Jun 01 17:04:36 2009 +0000
+++ b/INSTALL	Mon Jun 01 18:30:48 2009 +0000
@@ -7,13 +7,17 @@
  - SDL_image >= 1.2
  - SDL_ttf >= 2.0
  - CMake >= 2.6.0
+For server:
+ - Glasgow Haskell Compiler 6.8.3
+ - dataenc package
+ - hslogger package
 
 1. Configure:
 $ cmake .
 or
 $ cmake -DCMAKE_CXX_FLAGS="flags" -DCMAKE_INSTALL_PREFIX="install prefix" -DDATA_INSTALL_DIR="data dir" .
 
-add -DWITH_SERVER=1 to compile net server (requires Glasgow Haskell Compiler 6.8.3)
+add -DWITH_SERVER=1 to compile net server
 
 2. Compile:
 $ make
--- a/hedgewars/GSHandlers.inc	Mon Jun 01 17:04:36 2009 +0000
+++ b/hedgewars/GSHandlers.inc	Mon Jun 01 18:30:48 2009 +0000
@@ -1710,6 +1710,8 @@
 
 procedure doStepCakeExpl(Gear: PGear);
 begin
+AllInactive:= false;
+
 inc(Gear^.Tag);
 if Gear^.Tag < 2250 then exit;
 
@@ -1764,6 +1766,8 @@
 	end;
 	
 begin
+AllInactive:= false;
+
 inc(Gear^.Tag);
 if Gear^.Tag < 7 then exit;