Call Player::DeadBody() with the event function instead

This commit is contained in:
smallmodel committed 2023-08-09 22:09:04 +02:00
1 parent 3472657f92
commit 85099801ab
1 file changed
+1 -1
+1 -1
View File
@@ -1015,7 +1015,7 @@ bool DM_Manager::PlayerHitScoreLimit( void )
void DM_Manager::PlayerKilled( Player *player )
{
// Spawn a deadbody
player->DeadBody();
player->DeadBody(NULL);
// Hide the model because of the dead body
player->hideModel();