mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-29 15:22:29 +00:00
Server: Define an action for shooting an Explosive Barrel with the Wunderwaffe
Now instantly explodes; fixes crashing issue
This commit is contained in:
parent
6afcdc3ecb
commit
75547beb64
1 changed files with 3 additions and 0 deletions
|
@ -117,6 +117,9 @@ void() explosive_barrel =
|
||||||
Precache_Set(self.model);
|
Precache_Set(self.model);
|
||||||
setsize (self, '-10 -10 ', '10 10 38');
|
setsize (self, '-10 -10 ', '10 10 38');
|
||||||
|
|
||||||
|
// Instantly die when shot with the Wunderwaffe
|
||||||
|
self.th_diewunder = Barrel_Explode;
|
||||||
|
|
||||||
self.takedamage = DAMAGE_YES;
|
self.takedamage = DAMAGE_YES;
|
||||||
self.state = 0;
|
self.state = 0;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue