mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-03 13:19:40 +00:00
[Server] Fix crash caused by setting too many WorldObject refIds
This commit is contained in:
parent
da2f66d6ba
commit
fe9e30a4d8
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ void WorldFunctions::SetWorldEventCell(const char* cellDescription) noexcept
|
||||||
|
|
||||||
void WorldFunctions::SetObjectRefId(unsigned int i, const char* refId) noexcept
|
void WorldFunctions::SetObjectRefId(unsigned int i, const char* refId) noexcept
|
||||||
{
|
{
|
||||||
worldEvent->objectChanges.objects[i].refId = refId;
|
worldEvent->objectChanges.objects[i].refId = std::string(refId);
|
||||||
}
|
}
|
||||||
|
|
||||||
void WorldFunctions::SetObjectRefNumIndex(unsigned int i, int refNumIndex) noexcept
|
void WorldFunctions::SetObjectRefNumIndex(unsigned int i, int refNumIndex) noexcept
|
||||||
|
|
Loading…
Reference in a new issue