Alibek Omarov
1394637ce8
server: func_tank: prevent domain error on barrel adjust ( #328 )
...
When target is too close to the tank origin, `d2 - r2` expression may become negative
causing domain error on square root, and poisoning other fields and even other entities with NaN
2022-09-18 20:49:58 +00:00
Andrey Akhmichin
ec9bffedaf
Partially fix double promotion.
2019-10-13 16:49:25 +05:00
Night Owl
f27d1028ac
Do not reorganize variables in classes. Add missing #pragma once directives and more #include guards.
2017-12-11 02:44:30 +05:00
Night Owl
18adf0979f
Redefine string_t. Fix wrong variables type.
2017-12-10 20:56:46 +05:00
Night Owl
49e740c6f1
Remove unneeded casts.
2017-07-24 02:47:26 +05:00
Night Owl
c8ebe744c3
Fix my mistakes. Apply fixes for rpg and tank laser again.
2017-07-19 02:00:03 +05:00
Night Owl
0af3a37151
Fix build. Remove unneeded changes.
2017-07-17 13:45:39 +05:00
Night Owl
0570769d35
Merge fd29683101
2017-07-17 12:17:26 +05:00
Night Owl
004054586b
Merge 52209adc33
2017-07-17 10:01:32 +05:00
Night Owl
2faa732aa1
Apply some @AlliedModders's patches.
2017-06-29 18:56:03 +05:00
Night Owl
5890ff41ee
Server format.
2016-07-31 18:48:50 +05:00
Night Owl
fad7aa53d7
Remove extra commas and semicolons.
2016-06-25 23:21:01 +05:00
Night Owl
1aac42f504
Remove extra commas and semicolons. Format.
2016-06-25 21:33:39 +05:00
Night Owl
4304846337
CRLF to LF all.
2016-06-04 18:24:23 +05:00
mittorn
0f599684c5
Upload first port
2016-02-24 21:26:16 +00:00