MantisBT - Zandronum
View Issue Details
0002217Zandronum[All Projects] Bugpublic2015-04-29 18:302015-04-29 22:49
Ch0wW 
 
normalminoralways
newopen 
anyanyany
2.0 
 
0002217: Accuracy medal and classic rocket splash method
In Zandronum 2.X, when using new radius damage calculation, you can get an "accuracy!" medal after some successful splashes.

When using the classic calculation, however, no checks are done, resulting in never having an "accuracy!" medal.
1) use classic radius damage ( compat_oldradiusdmg ).
2) try to splash damage someone.
3) See it will never give you a medal.
4) Try it this time with new radius damage calculation. it will give you a medal after some hits.
It's not because the code is from barrels that it doesn't work with rockets!

Problem is in P_RadiusAttack.

Fixed function inside attached file. (End of function, check "Ch0wW" to see what's wrong.)
No tags attached.
txt P_RadiusAttack.txt (8,654) 2015-04-29 18:30
/tracker/file_download.php?file_id=1476&type=bug
Issue History
2015-04-29 18:30Ch0wWNew Issue
2015-04-29 18:30Ch0wWFile Added: P_RadiusAttack.txt
2015-04-29 22:49DuskNote Added: 0012188

Notes
(0012188)
Dusk   
2015-04-29 22:49   
Looking at the code, this only happens when the old radius damage calculation for infinitely tall explosions is used.