Fix for mmf failing on linux (relies on size_ which wasn't init properly on one of the constructors, now is)

This commit is contained in:
KimLS 2013-02-23 01:32:05 -08:00
parent 54883b0795
commit 8937c5be86

View File

@ -110,6 +110,7 @@ namespace EQEmu {
}
fseek(f, 0U, SEEK_END);
uint32 size = static_cast<uint32>(ftell(f)) - sizeof(shared_memory_struct);
size_ = size;
fclose(f);
#ifdef _WINDOWS