From 3b865244d027a855dea1eece84cca032e5fc0f11 Mon Sep 17 00:00:00 2001 From: David Cernat Date: Mon, 12 Feb 2018 07:23:52 +0200 Subject: [PATCH] [Server] Fix typo related to player deletion --- apps/openmw-mp/Player.cpp | 4 ++-- apps/openmw-mp/Player.hpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/openmw-mp/Player.cpp b/apps/openmw-mp/Player.cpp index 93f733a4b..00f1124e9 100644 --- a/apps/openmw-mp/Player.cpp +++ b/apps/openmw-mp/Player.cpp @@ -107,7 +107,7 @@ void Player::Init(LuaState &lua) "storedData", &Player::storedData, "customData", &Player::customData, - "markedForDeletion", sol::property(&Player::isMarkedForDeleteion) + "markedForDeletion", sol::property(&Player::isMarkedForDeletion) ); lua.getState()->new_enum("ChannelAction", @@ -957,7 +957,7 @@ void Player::setAuthority() } } -bool Player::isMarkedForDeleteion() const +bool Player::isMarkedForDeletion() const { return markedForDeletion; } diff --git a/apps/openmw-mp/Player.hpp b/apps/openmw-mp/Player.hpp index 682d5c921..f8168d89b 100644 --- a/apps/openmw-mp/Player.hpp +++ b/apps/openmw-mp/Player.hpp @@ -205,7 +205,7 @@ public: void setAuthority(); - bool isMarkedForDeleteion() const; + bool isMarkedForDeletion() const; void addToUpdateQueue();