diff --git a/source/duke3d/src/actors.cpp b/source/duke3d/src/actors.cpp index 7d6a7e43a..2b584ae83 100644 --- a/source/duke3d/src/actors.cpp +++ b/source/duke3d/src/actors.cpp @@ -643,7 +643,8 @@ void A_AddToDeleteQueue(int spriteNum) } if (SpriteDeletionQueue[g_spriteDeleteQueuePos] >= 0) - sprite[SpriteDeletionQueue[g_spriteDeleteQueuePos]].xrepeat = 0; + A_DeleteSprite(SpriteDeletionQueue[g_spriteDeleteQueuePos]); + SpriteDeletionQueue[g_spriteDeleteQueuePos] = spriteNum; g_spriteDeleteQueuePos = (g_spriteDeleteQueuePos+1)%g_deleteQueueSize; }