forked from mirror/openmw-tes3mp
[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
|
||||
{
|
||||
worldEvent->objectChanges.objects[i].refId = refId;
|
||||
worldEvent->objectChanges.objects[i].refId = std::string(refId);
|
||||
}
|
||||
|
||||
void WorldFunctions::SetObjectRefNumIndex(unsigned int i, int refNumIndex) noexcept
|
||||
|
|
Loading…
Reference in a new issue