diff --git a/src/tools/map_convert_07.cpp b/src/tools/map_convert_07.cpp index 0c4126eb3..7bb596703 100644 --- a/src/tools/map_convert_07.cpp +++ b/src/tools/map_convert_07.cpp @@ -222,6 +222,7 @@ int main(int argc, const char **argv) int i = 0; for(int Index = 0; Index < g_DataReader.NumItems(); Index++) { + g_DataReader.GetItem(Index, &Type, &ID); if(Type == MAPITEMTYPE_IMAGE) g_aImageIDs[i++] = Index; }