Use GetSpawnOrigin() instead of peeking

This commit is contained in:
Marco Cawthorne 2021-09-16 18:45:24 +02:00
parent 67bc6e1e26
commit 3c1aad1559
Signed by: eukara
GPG Key ID: C196CD8BA993248A
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ CTSPowerUp::CustomInit(void)
//takedamage = DAMAGE_NO;
// start at where I spawned, already recorded by CBaseEntity for us.
origin = m_oldOrigin;
origin = GetSpawnOrigin();
// Tone the gravity down to see them fall better / prove their positions are reset on spawn.
//this.gravity = 0.006;