mirror of
https://github.com/ENSL/NS.git
synced 2024-11-14 17:01:29 +00:00
Mantis 0001010:
o Fixed a bug where "switch" in console (sv_cheats 1) no longer makes the player stuck when going from alien to marine. Had committed the change to the wrong branch in build 225 ... git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@259 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
parent
c25d30a845
commit
14b10493b3
1 changed files with 3 additions and 0 deletions
|
@ -386,6 +386,9 @@ BOOL AvHGamerules::ClientCommand( CBasePlayer *pPlayer, const char *pcmd )
|
||||||
theAvHPlayer->SetPlayMode(PLAYMODE_READYROOM, true);
|
theAvHPlayer->SetPlayMode(PLAYMODE_READYROOM, true);
|
||||||
this->AttemptToJoinTeam(theAvHPlayer, theOtherTeamNumber, false);
|
this->AttemptToJoinTeam(theAvHPlayer, theOtherTeamNumber, false);
|
||||||
|
|
||||||
|
// tankefugl: 0001010 - Boost the player 32 units up to avoid sticking in the ground
|
||||||
|
theCurrentPosition[2] += 32.0f;
|
||||||
|
|
||||||
// Set our position again
|
// Set our position again
|
||||||
theAvHPlayer->pev->origin = theCurrentPosition;
|
theAvHPlayer->pev->origin = theCurrentPosition;
|
||||||
theAvHPlayer->pev->angles = theCurrentAngles;
|
theAvHPlayer->pev->angles = theCurrentAngles;
|
||||||
|
|
Loading…
Reference in a new issue