summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-02-01 07:36:15 +0000
committertron <tron@openttd.org>2006-02-01 07:36:15 +0000
commit84fb96fe85e75b038b527471428189170021f8b7 (patch)
treea7d69d6390e8880d090f15560161694c3ce6126d /misc.c
parent22dc05faf2219f6e3803f9cbff92249823bb11eb (diff)
downloadopenttd-84fb96fe85e75b038b527471428189170021f8b7.tar.xz
(svn r3511) More whitespace ([FS#46] by Rubidium)
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();