get -preThink called and call -AI at the right time. things slowly getting

better
This commit is contained in:
Bill Currie 2003-08-31 07:11:04 +00:00
parent 63c835333e
commit 19fef1890c

View file

@ -406,8 +406,6 @@ void(Waypoint e1, Waypoint e2, integer flag) DeveloperLightning = {};
- (void) preThink
{
local entity uself;
if (switch_wallhug)
ClientFixRankings ();
if (b_frags != ent.frags) {
@ -421,11 +419,6 @@ void(Waypoint e1, Waypoint e2, integer flag) DeveloperLightning = {};
b_frags = ent.frags;
}
[self dynamicWaypoint];
uself = @self;
@self = ent;
PlayerPreThink ();
@self = uself;
}
- (void) postThink
@ -455,8 +448,9 @@ void(Waypoint e1, Waypoint e2, integer flag) DeveloperLightning = {};
-(void)frame
{
[self obstacles];
[self AI];
[self preThink];
[self sendMove];
[self AI];
}
-(void) updateClient