Commit c356f592 authored by Dino Bollinger's avatar Dino Bollinger

Mapster32: Fix reported number of deleted sprites with special func 2

parent 83a6adda
......@@ -1731,7 +1731,8 @@ static void FuncMenu_Process(const StatusBarMenu *m, int32_t col, int32_t row)
int32_t k = 0;
for (j=0; j<MAXSPRITES; j++)
if (sprite[j].picnum == i)
deletesprite(j), k++;
if (deletesprite(j) == 0)
k++;
printmessage16("%d sprite(s) deleted",k);
}
else printmessage16("Aborted");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment