mirror of
https://git.code.sf.net/p/quake/game-source
synced 2025-02-16 17:01:41 +00:00
update for recent changes to Object
This commit is contained in:
parent
e78a511261
commit
0704ef5a9c
1 changed files with 2 additions and 2 deletions
|
@ -345,7 +345,7 @@ tripping the runaway loop counter
|
|||
}
|
||||
if (waypoint_thinker.@this = [waypoint_queue removeItemAtHead]) {
|
||||
local id obj = waypoint_thinker.@this;
|
||||
local IMP imp = [obj methodFor: @selector (waypointThink)];
|
||||
local IMP imp = [obj methodForSelector: @selector (waypointThink)];
|
||||
(IMP)waypoint_thinker.think = imp;
|
||||
waypoint_thinker.nextthink = time;
|
||||
}
|
||||
|
@ -356,7 +356,7 @@ tripping the runaway loop counter
|
|||
if (waypoint_thinker.@this) {
|
||||
[waypoint_queue addItemAtTail: self];
|
||||
} else {
|
||||
local IMP imp = [self methodFor: @selector (waypointThink)];
|
||||
local IMP imp = [self methodForSelector: @selector (waypointThink)];
|
||||
(IMP)waypoint_thinker.think = imp;
|
||||
waypoint_thinker.nextthink = time;
|
||||
waypoint_thinker.@this = self;
|
||||
|
|
Loading…
Reference in a new issue