From 17c234d9ca2286e7a83ec6c00f13b5092a62933e Mon Sep 17 00:00:00 2001 From: David Cernat Date: Fri, 6 Jul 2018 02:07:55 +0300 Subject: [PATCH] [Client] Use initial values for LocalPlayer and LocalActor killers --- apps/openmw/mwmp/LocalActor.cpp | 4 ++++ apps/openmw/mwmp/LocalPlayer.cpp | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/apps/openmw/mwmp/LocalActor.cpp b/apps/openmw/mwmp/LocalActor.cpp index ee275b940..31b856f69 100644 --- a/apps/openmw/mwmp/LocalActor.cpp +++ b/apps/openmw/mwmp/LocalActor.cpp @@ -36,6 +36,10 @@ LocalActor::LocalActor() attack.shouldSend = false; attack.instant = false; + killer.isPlayer = false; + killer.refId = ""; + killer.name = ""; + creatureStats.mDead = false; } diff --git a/apps/openmw/mwmp/LocalPlayer.cpp b/apps/openmw/mwmp/LocalPlayer.cpp index 5a3acc15d..767397b0d 100644 --- a/apps/openmw/mwmp/LocalPlayer.cpp +++ b/apps/openmw/mwmp/LocalPlayer.cpp @@ -61,6 +61,10 @@ LocalPlayer::LocalPlayer() attack.shouldSend = false; + killer.isPlayer = false; + killer.refId = ""; + killer.name = ""; + isChangingRegion = false; jailProgressText = "";