reset eyeheight on respawn

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2944 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2008-10-11 18:37:06 +00:00
parent dae268ea4c
commit f84197f44a
+2 -1
View File
@@ -357,7 +357,7 @@ struct playerent : dynent, playerstate
{
type = ENT_PLAYER;
name[0] = team[0] = 0;
eyeheight = maxeyeheight = 4.5f;
maxeyeheight = 4.5f;
aboveeye = 0.7f;
radius = 1.1f;
maxspeed = 16.0f;
@@ -408,6 +408,7 @@ struct playerent : dynent, playerstate
spectatemode = SM_NONE;
followplayercn = -1; // flowtron : default to non-valid cn
eardamagemillis = 0;
eyeheight = maxeyeheight;
}
void spawnstate(int gamemode)