View Single Post
  #41  
Old 07-28-2012, 04:53 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,743
Default

Quote:
Obviously, the first loop catches the cursor slot 30. How does slot 8000 not being occupied actually affect the operation
of the second loop?
They appear to be two separate unrelated loops. One moves items in slots 0-30, and the second moves items from the cursor queue to 8000-(8000 + N). I didn't look at how MoveItemToCorpse works, but I would guess since the slot numbers don't overlap it isn't an issue.

Quote:
And, what would happen if both slot 30 and slot 8000 were occupied? We should lose one of them, right?
Sounds like a good thing to test for.
Reply With Quote