|
|
@ -1626,6 +1626,7 @@ void AiL::RenderWorld(float fElapsedTime){ |
|
|
|
const ItemDrop&drop=ItemDrop::drops[*dropsAfterUpperIt]; |
|
|
|
const ItemDrop&drop=ItemDrop::drops[*dropsAfterUpperIt]; |
|
|
|
if(drop.pos.y<topTileY){ |
|
|
|
if(drop.pos.y<topTileY){ |
|
|
|
drop.Draw(); |
|
|
|
drop.Draw(); |
|
|
|
|
|
|
|
++dropsAfterUpperIt; |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
@ -1716,6 +1717,7 @@ void AiL::RenderWorld(float fElapsedTime){ |
|
|
|
while(dropsBeforeUpperIt!=dropsBeforeUpper.end()){ |
|
|
|
while(dropsBeforeUpperIt!=dropsBeforeUpper.end()){ |
|
|
|
const int dropInd=*dropsBeforeUpperIt; |
|
|
|
const int dropInd=*dropsBeforeUpperIt; |
|
|
|
ItemDrop::drops[dropInd].Draw(); |
|
|
|
ItemDrop::drops[dropInd].Draw(); |
|
|
|
|
|
|
|
++dropsBeforeUpperIt; |
|
|
|
} |
|
|
|
} |
|
|
|
if(!player->rendered&&player->upperLevel){ |
|
|
|
if(!player->rendered&&player->upperLevel){ |
|
|
|
player->rendered=true; |
|
|
|
player->rendered=true; |
|
|
|