View Single Post
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-04-2011 , 15:24   Re: HE Explosions Destroy Breakables
Reply With Quote #9

Normally the c4 check is not required since the offset is different.

Considering that and since m_usEvent is set when a grenade spawns only, it means that checking if it's a C4 before is not needed. Checking m_usEvent & 1 (or 1<<0) should be enough.
__________________
Arkshine is offline