mirror of
https://github.com/DrBeef/JKXR.git
synced 2024-11-22 04:01:33 +00:00
Hopefully fix recursive glass breaking function call
This is a weird one, hopefully this fixes it!
This commit is contained in:
parent
96f6be0be9
commit
f179693772
1 changed files with 3 additions and 1 deletions
|
@ -1054,7 +1054,9 @@ void funcGlassUse( gentity_t *self, gentity_t *other, gentity_t *activator )
|
||||||
|
|
||||||
self->splashRadius = 40; // ?? some random number, maybe it's ok?
|
self->splashRadius = 40; // ?? some random number, maybe it's ok?
|
||||||
|
|
||||||
funcGlassDie( self, other, activator, self->health, MOD_UNKNOWN );
|
if (self->takedamage) {
|
||||||
|
funcGlassDie(self, other, activator, self->health, MOD_UNKNOWN);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------
|
//-----------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue