Quote:
Originally Posted by Hawk552
You didn't check if grenade is the c4, because the planted c4's classname is grenade.
|
The only time I use the "grenade" classname is for register_think, so I assume this is what you are referring to.
When a smoke grenade is thrown and determined to be a frost grenade, I set that entity's EV_INT_bInDuck to 1 (default 0, because it's unused in grenades). In my think handler, I disregard all grenades that do not have EV_INT_bInDuck set to 1.
So, the C4 shouldn't receive this flag, and its think should be passed over.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS