From 7ef6e421e485771ab7b7dcf1e51b99dc15be2c22 Mon Sep 17 00:00:00 2001 From: tankefugl Date: Thu, 30 Jun 2005 13:01:25 +0000 Subject: [PATCH] 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. git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@225 67975925-1194-0748-b3d5-c16f83f1a3a1 --- dev/performance/source/mod/AvHConsoleCommands.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/dev/performance/source/mod/AvHConsoleCommands.cpp b/dev/performance/source/mod/AvHConsoleCommands.cpp index 804daa2f..5e92023f 100644 --- a/dev/performance/source/mod/AvHConsoleCommands.cpp +++ b/dev/performance/source/mod/AvHConsoleCommands.cpp @@ -380,6 +380,7 @@ BOOL AvHGamerules::ClientCommand( CBasePlayer *pPlayer, const char *pcmd ) // Remember current position Vector theCurrentPosition = theAvHPlayer->pev->origin; + theCurrentPosition[2] += 32.0f; Vector theCurrentAngles = theAvHPlayer->pev->angles; // Switch teams