env_sprite: Turns out the default scale is not 0.25f.

This commit is contained in:
Marco Cawthorne 2021-02-13 10:12:17 +01:00
parent 2449fa492e
commit 2834b49f12
2 changed files with 2 additions and 2 deletions

View file

@ -703,7 +703,6 @@ CSMultiplayerRules::PlayerRespawn(base_player pp, int fTeam)
pl.viewzoom = 1.0;
pl.g_items &= ~ITEM_C4BOMB;
print(sprintf("Spawnpos: %v\n", eSpawn.origin));
pl.SetOrigin(eSpawn.origin);
pl.angles = eSpawn.angles;
pl.SendFlags = UPDATE_ALL;
@ -737,6 +736,7 @@ CSMultiplayerRules::PlayerRespawn(base_player pp, int fTeam)
default:
pl.model = "models/player/vip/vip.mdl";
}
pl.SetModel(pl.model);
pl.SetSize(VEC_HULL_MIN, VEC_HULL_MAX);

View file

@ -152,7 +152,7 @@ void
env_sprite::env_sprite(void)
{
m_flFramerate = 10;
m_flScale = 0.25f; /* this is the default, according to Sven Manor */
m_flScale = 1.0f;
CBaseTrigger::CBaseTrigger();