Core/Vmaps: fixed parentMapID setting for vmaps. re-extraction required

This commit is contained in:
Ovahlord
2018-03-12 14:50:53 +01:00
parent 813be5c000
commit 1c7cb1b6af

View File

@@ -613,7 +613,7 @@ int main(int argc, char ** argv)
strncpy(m.name, map_name, max_map_name_length);
m.name[max_map_name_length - 1] = '\0';
m.parent_id = int16(dbc->getRecord(x).getUInt(19));
m.parent_id = int16(dbc->getRecord(x).getInt(19));
if (m.parent_id >= 0)
maps_that_are_parents.insert(m.parent_id);