summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/misc.c b/misc.c
index cc3f08e35..d5c9025c4 100644
--- a/misc.c
+++ b/misc.c
@@ -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();