mirror of
https://git.code.sf.net/p/quake/game-source
synced 2025-04-07 08:11:16 +00:00
get -preThink called and call -AI at the right time. things slowly getting
better
This commit is contained in:
parent
63c835333e
commit
19fef1890c
1 changed files with 2 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue