mirror of
https://github.com/yquake2/zaero.git
synced 2024-11-21 19:41:07 +00:00
Fixed TripBomb not inflicting damage
This commit is contained in:
parent
7dae34726f
commit
24cdf52a89
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
#include "../header/local.h"
|
||||
#include "../monster/misc/player.h"
|
||||
#include <stdio.h>
|
||||
|
||||
extern qboolean is_quad;
|
||||
extern byte is_silenced;
|
||||
|
@ -116,7 +117,7 @@ void TripBomb_Explode (edict_t *ent)
|
|||
return;
|
||||
}
|
||||
|
||||
T_RadiusDamage(ent, ent->owner ? ent->owner : ent, ent->dmg, ent->enemy, ent->dmg_radius, MOD_TRIPBOMB);
|
||||
T_RadiusDamage(ent, ent->owner ? ent->owner : ent, ent->dmg, ent, ent->dmg_radius, MOD_TRIPBOMB);
|
||||
|
||||
VectorMA (ent->s.origin, -0.02, ent->velocity, origin);
|
||||
|
||||
|
|
Loading…
Reference in a new issue