Implement Rendering fixes (Infinite iterator bugs) from demo fixes. Release Build 9509.

mac-build
sigonasr2 6 months ago
parent 46ee54d7c5
commit 71466f2b97
  1. 2
      Adventures in Lestoria/AdventuresInLestoria.cpp
  2. 2
      Adventures in Lestoria/Version.h
  3. BIN
      x64/Release/Adventures in Lestoria.exe

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

@ -39,7 +39,7 @@ All rights reserved.
#define VERSION_MAJOR 1
#define VERSION_MINOR 2
#define VERSION_PATCH 3
#define VERSION_BUILD 9507
#define VERSION_BUILD 9509
#define stringify(a) stringify_(a)
#define stringify_(a) #a

Loading…
Cancel
Save