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:
+2
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user