mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 13:55:36 +03:00
Fixed error with the dod_client_spawn not being called when the player spawns after a map cap and not being dead
This commit is contained in:
parent
7b4283bf4a
commit
9cca961024
@ -352,13 +352,14 @@ void CPlayer::setBody(int bn)
|
|||||||
/*
|
/*
|
||||||
iuser3 = 0 standing up
|
iuser3 = 0 standing up
|
||||||
iuser3 = 1 going prone or mg tearing down
|
iuser3 = 1 going prone or mg tearing down
|
||||||
iuser3 = 2 setting up mg
|
iuser3 = 2 setting up mg while laying down
|
||||||
*/
|
*/
|
||||||
void CPlayer::PreThink()
|
void CPlayer::PreThink()
|
||||||
{
|
{
|
||||||
if(!ingame || ignoreBots(pEdict))
|
if(!ingame || ignoreBots(pEdict))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
// Died in the normal way
|
||||||
if(olddeadflag != 0 && pEdict->v.deadflag == 0 && iFSpawnForward != -1)
|
if(olddeadflag != 0 && pEdict->v.deadflag == 0 && iFSpawnForward != -1)
|
||||||
MF_ExecuteForward(iFSpawnForward, index);
|
MF_ExecuteForward(iFSpawnForward, index);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user