B
if(source && source->player) // Player hits another player
{
target->z++;
if(source == target) // You can't kill yourself, idiot...
return false;
if(gametype == GT_COOP) // Thrust the player back from the hit, but deal no damage.
{ // Just so those "friends" of yours don't kill you.
S_StartSound(target, target->info->painsound);
P_SetPlayerMobjState(target, target->info->painstate);
P_InstaThrust (player->mo, player->mo->angle-ANG180, 32*FRACUNIT);
return false;
}
}
Shuffle said:Yes I do..
Let's see what I have pasted this time.
[PM:08:17:05] * Alam_Debian pokes Shuffle
Muh, go figure.