aboutsummaryrefslogtreecommitdiff
path: root/src/cract.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/cract.cc')
-rw-r--r--src/cract.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cract.cc b/src/cract.cc
index 41bbcca..35ca92a 100644
--- a/src/cract.cc
+++ b/src/cract.cc
@@ -1434,9 +1434,7 @@ void TCreature::NotifyGo(void){
}
}
- // TODO(fusion): This is probably an inlined function to get the first object
- // with some specific flag on a field.
- int Waypoints;
+ int Waypoints = 0;
Object Bank = GetFirstObject(DestX, DestY, DestZ);
while(Bank != NONE){
ObjectType BankType = Bank.getObjectType();