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();