mirror of
https://github.com/bearstonem/openmohaa-vr.git
synced 2026-10-29 04:00:28 +01:00
Call Player::DeadBody() with the event function instead
This commit is contained in:
1 file changed
+1
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user