TTT-2 / TTT2

Trouble in Terrorist Town 2 for Garry's Mod (gmod)
https://steamcommunity.com/sharedfiles/filedetails/?id=1357204556
177 stars 73 forks source link

C4 gameEffects consolidate #1349

Open EntranceJew opened 8 months ago

EntranceJew commented 8 months ago

C4 uses a completely different method than gameEffects.RadiusDamage -- as do grenades, consider if their implementation warrants differing. gameEffects.RadiusDamage does similar checks to util.BlastDamageInfo, compare to find major differences.

TimGoll commented 8 months ago

This is also something I noticed when working on the melon mine. It uses its own implementation of that as well. I guess we could put all of that in a library function