ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.25k stars 175 forks source link

[GoldSource] func_rotating/func_train rotating visually breaks after a while #1104

Closed xPaw closed 11 years ago

xPaw commented 11 years ago

Angles are not clamped within -360/360, and at some point entity will just stop visually rotating (will stay at same spot).

Found that those entities stop rotation (only visual) when some angle value is above 32768 or below -32768 on linux, and -16777216/16777216 (=32768*512) on windows, at least on my computer and on my dediacted server.

Here is an example code of how it's fixed in amxmodx: http://forums.alliedmods.net/showpost.php?p=881654&postcount=23

johndrinkwater commented 11 years ago

probable duplicate of #862.

alfred-valve commented 11 years ago

Thanks xPaw, I was wondering WTF was causing this.