summaryrefslogtreecommitdiff
path: root/disaster_cmd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-02-01 06:32:03 +0000
committertron <tron@openttd.org>2006-02-01 06:32:03 +0000
commit22dc05faf2219f6e3803f9cbff92249823bb11eb (patch)
tree567a406e1224ab13f36027469339c6c42ada96f1 /disaster_cmd.c
parent8cdd3261fc5e37d2d39364d9c2c1449f83b1c504 (diff)
downloadopenttd-22dc05faf2219f6e3803f9cbff92249823bb11eb.tar.xz
(svn r3510) Fiddle with whitespace and parentheses
Diffstat (limited to 'disaster_cmd.c')
-rw-r--r--disaster_cmd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/disaster_cmd.c b/disaster_cmd.c
index aea364ae1..4f3ea40cc 100644
--- a/disaster_cmd.c
+++ b/disaster_cmd.c
@@ -246,7 +246,6 @@ static void DisasterTick_Zeppeliner(Vehicle *v)
IsTileType(tile, MP_STATION) &&
IS_BYTE_INSIDE(_m[tile].m5, 8, 0x43) &&
IS_HUMAN_PLAYER(GetTileOwner(tile))) {
-
st = GetStation(_m[tile].m2);
SETBITS(st->airport_flags, RUNWAY_IN_block);
}
@@ -905,7 +904,6 @@ static void Disaster7_Init(void)
for (m = 0; m < 15; m++) {
FOR_ALL_INDUSTRIES(i) {
if (i->xy != 0 && i->type == IT_COAL_MINE && --index < 0) {
-
SetDParam(0, i->town->index);
AddNewsItem(STR_B005_COAL_MINE_SUBSIDENCE_LEAVES,
NEWS_FLAGS(NM_THIN,NF_VIEWPORT|NF_TILE,NT_ACCIDENT,0), i->xy + TileDiffXY(1, 1), 0);