Tools: Enabled struct packing to ensure that structures are read from files properly

This commit is contained in:
Shauren committed 2014-04-20 14:49:44 +02:00
1 parent d4e355d534
commit fc538c5088
8 files changed
+30 -4

No files matched your search

+1 -1
View File
@@ -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);