Fixed object removal bug

Undefined behaviour occurred when removing rockets, mines etc. Was due
to removing item from list inside range based loop.

Should now work on Windows 7.