diff --git a/apps/openmw-mp/Script/Functions/Objects.cpp b/apps/openmw-mp/Script/Functions/Objects.cpp index f965f8a15..de7fe0d80 100644 --- a/apps/openmw-mp/Script/Functions/Objects.cpp +++ b/apps/openmw-mp/Script/Functions/Objects.cpp @@ -134,6 +134,8 @@ unsigned int ObjectFunctions::GetObjectSummonerPid(unsigned int i) noexcept if (player != nullptr) return player->getId(); + + return -1; } const char *ObjectFunctions::GetObjectSummonerRefId(unsigned int i) noexcept