mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-24 23:34:37 +01:00
Make client work
This commit is contained in:
committed by
Michał Janiszewski
parent
351b0df76b
commit
ae24ded8bf
@@ -24,7 +24,7 @@ MemoryStream::MemoryStream(const MemoryStream ©)
|
||||
_dataCapacity = copy._dataCapacity;
|
||||
_dataSize = copy._dataSize;
|
||||
|
||||
if (_access == MEMORY_ACCESS::OWNER)
|
||||
if (_access & MEMORY_ACCESS::OWNER)
|
||||
{
|
||||
_data = Memory::Duplicate(copy._data, _dataCapacity);
|
||||
_position = (void*)((uintptr_t)_data + copy.GetPosition());
|
||||
|
||||
Reference in New Issue
Block a user