summaryrefslogtreecommitdiff
path: root/src/game/g_buildable.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_buildable.c')
-rw-r--r--src/game/g_buildable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c
index bf353bf..d855af5 100644
--- a/src/game/g_buildable.c
+++ b/src/game/g_buildable.c
@@ -2843,7 +2843,7 @@ void HMedistat_Think( gentity_t *self )
}
else if( SPAWN_WITH_MEDKIT &&
!BG_InventoryContainsUpgrade( UP_MEDKIT, player->client->ps.stats ) )
- BG_AddUpgradeToInventory( UP_MEDKIT, self->enemy->client->ps.stats );
+ BG_AddUpgradeToInventory( UP_MEDKIT, player->client->ps.stats );
}
}
}