func_door_rotating: Apparently spawnflags 32 (TOGGLE) does not remove player touch. Odd.

This commit is contained in:
Marco Cawthorne 2022-04-23 21:35:49 -07:00
parent 0c89cd31ec
commit 767fdd0913
Signed by: eukara
GPG Key ID: C196CD8BA993248A
1 changed files with 1 additions and 1 deletions

View File

@ -391,7 +391,7 @@ func_door_rotating::Respawn(void)
nextthink = 0.0f;
avelocity = [0,0,0];
if (spawnflags & SF_ROT_TOGGLE || spawnflags & SF_ROT_USE)
if (spawnflags & SF_ROT_USE)
m_iCanTouch = false;
else
m_iCanTouch = true;