mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-02-04 17:50:45 +03:00
Fix: axis wrong rotation func_door_rotating from touch the player
This commit is contained in:
parent
70dc948091
commit
27424741a0
@ -595,7 +595,7 @@ void CBaseDoor::DoorGoUp(void)
|
||||
{
|
||||
if (toActivator.x <= hiX)
|
||||
{
|
||||
if (toActivator.y > loY)
|
||||
if (toActivator.y < loY)
|
||||
sign = (momentArmX > 0) ? 1 : -1;
|
||||
else if (toActivator.y > hiY)
|
||||
sign = (momentArmX < 0) ? 1 : -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user