mirror of
https://git.code.sf.net/p/quake/prozac-qfcc
synced 2025-03-24 19:32:00 +00:00
- gib people who leave the map :)
This commit is contained in:
parent
5ec3dff93e
commit
c04bac87f3
2 changed files with 7 additions and 1 deletions
|
@ -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);
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue