diff options
Diffstat (limited to 'misc.c')
-rw-r--r-- | misc.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -223,8 +223,7 @@ void GenerateWorld(int mode, uint size_x, uint size_y) // No need to run the tile loop in the scenario editor. if (mode != GW_EMPTY) { - for(i=0x500; i!=0; i--) - RunTileLoop(); + for (i = 0x500; i != 0; i--) RunTileLoop(); } ResetObjectToPlace(); @@ -980,7 +979,7 @@ static void Load_CHTS(void) Cheat* cht = (Cheat*) &_cheats; uint count = SlGetFieldLength()/2; - for(; count; count--, cht++) + for (; count; count--, cht++) { cht->been_used = (byte)SlReadByte(); cht->value = (byte)SlReadByte(); |