mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-13 03:28:19 +00:00
Fix map_convert_07
Broken in 5c1b8cd221 (diff-17a71d0838a3f107d2baf573a0885c3b7727266b432a13836525737e83a81a58)
Thanks to Jupstar for noticing
This commit is contained in:
parent
9a257a76e1
commit
e55eecc88b
|
@ -222,6 +222,7 @@ int main(int argc, const char **argv)
|
||||||
int i = 0;
|
int i = 0;
|
||||||
for(int Index = 0; Index < g_DataReader.NumItems(); Index++)
|
for(int Index = 0; Index < g_DataReader.NumItems(); Index++)
|
||||||
{
|
{
|
||||||
|
g_DataReader.GetItem(Index, &Type, &ID);
|
||||||
if(Type == MAPITEMTYPE_IMAGE)
|
if(Type == MAPITEMTYPE_IMAGE)
|
||||||
g_aImageIDs[i++] = Index;
|
g_aImageIDs[i++] = Index;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue