FWGS / hlsdk-portable

Portable Half-Life SDK. GoldSource and Xash3D. Crossplatform.
https://xash.su
Other
266 stars 121 forks source link

Fix func_door_rotating with 'Starts Open' spawnflag #451

Open FreeSlave opened 4 months ago

FreeSlave commented 4 months ago

There's an error in the door angles swap which leads to the rotating door with Starts open spawnflag not moving after it was "closed". The Toggle door won't respond to the trigger and non-Toggle door won't return to the position.

This is probably dangerous to merge as some existing maps may rely on this behavior. I leave this PR just to document the bug.

mittorn commented 4 months ago

Maybe such things should be in some "bugcomp" mode under macro? Authors of new mods do not need to rely on specific half-life behaviour

nekonomicon commented 4 months ago

Maybe such things should be in some "bugcomp" mode under macro?

Yeap, will be better to place new code under macro instead of stillborn PR.