diff --git a/common/memory_mapped_file.cpp b/common/memory_mapped_file.cpp index 357c3fa5d..69c60fb6b 100644 --- a/common/memory_mapped_file.cpp +++ b/common/memory_mapped_file.cpp @@ -110,6 +110,7 @@ namespace EQEmu { } fseek(f, 0U, SEEK_END); uint32 size = static_cast(ftell(f)) - sizeof(shared_memory_struct); + size_ = size; fclose(f); #ifdef _WINDOWS