Tools: Enabled struct packing to ensure that structures are read from files properly
This commit is contained in:
1 parent
d4e355d534
commit
fc538c5088
8 files changed
+30
-4
No files matched your search
@@ -159,7 +159,7 @@ bool ADTFile::init(uint32 map_num, uint32 tileX, uint32 tileY)
|
||||
ADT.read(buf, size);
|
||||
char* p=buf;
|
||||
int q = 0;
|
||||
WmoInstansName = new string[size];
|
||||
WmoInstansName = new std::string[size];
|
||||
while (p<buf+size)
|
||||
{
|
||||
char* s = GetPlainName(p);
|
||||
|
||||
Reference in new issue
Block a user