diff options
author | belugas <belugas@openttd.org> | 2008-08-25 16:10:34 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2008-08-25 16:10:34 +0000 |
commit | de43d17a8253a7fb081a67117a15cf089b18c549 (patch) | |
tree | 939b2bf0ef664550aa207ba7a014be3c9614adb9 /src/ai/trolly | |
parent | 7b632aa8aa8a754234b82fc911f185c500bd6768 (diff) | |
download | openttd-de43d17a8253a7fb081a67117a15cf089b18c549.tar.xz |
(svn r14169) -Codechange: rename location_of_house for location_of_HQ, which is more exact and less subject to interpretation
Diffstat (limited to 'src/ai/trolly')
-rw-r--r-- | src/ai/trolly/trolly.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/trolly/trolly.cpp b/src/ai/trolly/trolly.cpp index 708753b8b..bbd630673 100644 --- a/src/ai/trolly/trolly.cpp +++ b/src/ai/trolly/trolly.cpp @@ -107,7 +107,7 @@ static void AiNew_State_WakeUp(Player *p) int c; assert(_players_ainew[p->index].state == AI_STATE_WAKE_UP); // First, check if we have a HQ - if (p->location_of_house == 0) { + if (p->location_of_HQ == 0) { // We have no HQ yet, build one on a random place // Random till we found a place for it! // TODO: this should not be on a random place.. |