summaryrefslogtreecommitdiff
path: root/src/game/g_combat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_combat.c')
-rw-r--r--src/game/g_combat.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/game/g_combat.c b/src/game/g_combat.c
index 77b836f6..0f915e0a 100644
--- a/src/game/g_combat.c
+++ b/src/game/g_combat.c
@@ -326,7 +326,11 @@ GibEntity
==================
*/
void GibEntity( gentity_t *self, int killer ) {
- G_AddEvent( self, EV_GIB_PLAYER, killer );
+ if( self->client->ps.stats[ STAT_PCLASS ] == PTE_HUMANS )
+ G_AddEvent( self, EV_GIB_PLAYER, killer );
+ else
+ G_AddEvent( self, EV_GIB_DROID, killer );
+
self->takedamage = qfalse;
self->s.eType = ET_INVISIBLE;
self->r.contents = 0;