|
@@ -8,13 +8,13 @@
|
|
|
#include "depot.h"
|
|
|
|
|
|
#define TEST_STATION_NO_DIR 0xFF
|
|
|
|
|
|
// Tests if a station can be build on the given spot
|
|
|
// TODO: make it train compatible
|
|
|
static bool TestCanBuildStationHere(uint tile, byte dir)
|
|
|
static bool TestCanBuildStationHere(TileIndex tile, byte dir)
|
|
|
{
|
|
|
Player *p = GetPlayer(_current_player);
|
|
|
|
|
|
if (dir == TEST_STATION_NO_DIR) {
|
|
|
int32 ret;
|
|
|
// TODO: currently we only allow spots that can be access from al 4 directions...
|