Rav, the only one being insulted is you by yourself, by posting in the first place, about something you know nothing about in first place. You remind me of my 5 year old causin that is always trying to argue about stuff he knows nothing about, but his main fault is he does not know when to quit. I can forgive him after all he is only 5 years old, but are you?
Sonic, good point, that is what the ( mod == MOD_TRIGGER_HURT || mod == MOD_CRUSH ) condition was actually supposed to do, unfortunately it was in wrong place. :(
This is how it should have been:
if ( g_gametype.integer == GT_CTF && targ->item->giType == IT_TEAM ) {
if ( mod == MOD_TRIGGER_HURT || mod == MOD_CRUSH ) {
targ->health-=damage;
}
if ( targ->health <= 0 ) {
Team_DroppedFlagThink( targ );
}
return;
}
-RisK
|
_
|