From 08898f69bebd4ed5fc866aeb31406cc512ed7fcf Mon Sep 17 00:00:00 2001 From: belugas Date: Mon, 25 Aug 2008 16:10:34 +0000 Subject: (svn r14169) -Codechange: rename location_of_house for location_of_HQ, which is more exact and less subject to interpretation --- src/ai/trolly/trolly.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ai/trolly') 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.. -- cgit v1.2.3-54-g00ecf