Tools/Mapextractor: Fix a vector subscript out of range debug assertion
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user