summaryrefslogtreecommitdiff
path: root/src/town_cmd.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-12-27 13:35:39 +0000
committerrubidium <rubidium@openttd.org>2007-12-27 13:35:39 +0000
commit384503e7d37f4b68c1480f6e6ca81adf84ef137d (patch)
tree7262db82a9e80413b5783b88be96602fdd29a485 /src/town_cmd.cpp
parent4e66f5a04b3b1393a13fa81edfdd10243aaf13a4 (diff)
downloadopenttd-384503e7d37f4b68c1480f6e6ca81adf84ef137d.tar.xz
(svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes.
Diffstat (limited to 'src/town_cmd.cpp')
-rw-r--r--src/town_cmd.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp
index c986d38ff..9abf01875 100644
--- a/src/town_cmd.cpp
+++ b/src/town_cmd.cpp
@@ -18,7 +18,6 @@
#include "command_func.h"
#include "industry.h"
#include "station.h"
-#include "vehicle.h"
#include "player.h"
#include "news.h"
#include "saveload.h"
@@ -1793,7 +1792,7 @@ static void DoBuildTownHouse(Town *t, TileIndex tile)
construction_counter = GB(r, 2, 2);
}
}
- MakeTownHouse(tile, t->index, construction_counter, construction_stage, house, VehicleRandomBits());
+ MakeTownHouse(tile, t->index, construction_counter, construction_stage, house, Random());
}
}