Tools/Mapextractor: Fix a vector subscript out of range debug assertion

This commit is contained in:
Carbenium
2016-07-26 01:14:16 +02:00
parent e31ad32b56
commit 060256000b
+1 -1
View File
@@ -374,7 +374,7 @@ void ReadLiquidTypeTableDBC()
exit(1);
}
LiqType.resize(db2.GetMaxId(), 0xFFFF);
LiqType.resize(db2.GetMaxId() + 1, 0xFFFF);
for (uint32 x = 0; x < db2.GetNumRows(); ++x)
{