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

This commit is contained in:
Ovahlord committed 2018-03-12 19:15:20 +01:00
1 parent 813be5c000
commit 1c7cb1b6af
1 file changed
+1 -1
+1 -1
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);