- gib people who leave the map :)

This commit is contained in:
Adam Olsen 2001-10-07 22:47:59 +00:00
parent 5ec3dff93e
commit c04bac87f3
2 changed files with 7 additions and 1 deletions

View file

@ -2755,6 +2755,10 @@ void() PlayerPreThink =
self.hover_time = (MAX_HOVER_FUEL * 2);
}
}
if (self.health > 0 && pointcontents (self.origin) == CONTENTS_SOLID)
TF_T_Damage (self, world, world, self.health + 100,
TF_TD_IGNOREARMOUR, TF_TD_OTHER);
};
/*

View file

@ -1188,7 +1188,9 @@ void (entity targ, entity attacker) Obituary_Player_Misc =
Give_Frags_Out (targ, targ, -1, 1, 1, 1, 0);
// logfrag (targ, targ);
if (targ.watertype == CONTENTS_WATER) {
if (pointcontents (self.origin) == CONTENTS_SOLID) {
deathstring = " left the map\n";
} else if (targ.watertype == CONTENTS_WATER) {
local float rnum = random ();
if (rnum < FRAC (1, 4))