changeset 1962 | 8254df1b359b |
parent 1891 | 862800791170 |
child 1977 | 37bbebf94434 |
--- a/ai_pathfinder.c Tue Jun 21 14:50:08 2005 +0000 +++ b/ai_pathfinder.c Tue Jun 21 16:28:17 2005 +0000 @@ -13,7 +13,7 @@ // TODO: make it train compatible static bool TestCanBuildStationHere(uint tile, byte dir) { - Player *p = DEREF_PLAYER(_current_player); + Player *p = GetPlayer(_current_player); if (dir == TEST_STATION_NO_DIR) { int32 ret;