Fix map_convert_07

Broken in 5c1b8cd221 (diff-17a71d0838a3f107d2baf573a0885c3b7727266b432a13836525737e83a81a58)

Thanks to Jupstar for noticing
This commit is contained in:
Dennis Felsing 2020-10-26 15:11:52 +01:00
parent 9a257a76e1
commit e55eecc88b

View file

@ -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;
}