don't access Waypoint.b_sound directly (one less place to fix when I come

up with a better name:)
This commit is contained in:
Bill Currie 2003-08-24 07:27:44 +00:00
parent b5e1597081
commit 1c48b8a977

View file

@ -151,7 +151,7 @@ Bot has lost its target.
[self targetDrop:targ]; [self targetDrop:targ];
if ([targ isKindOfClass:[Waypoint class]]) if ([targ isKindOfClass:[Waypoint class]])
((Waypoint)targ).b_sound &= ~b_clientflag; [(Waypoint)targ clearRouteForBot:self];
// find a new route // find a new route
if (!success) { if (!success) {