mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 21:31:53 +00:00
TSAGE: Fix for inflinite loop setting scene zoom percents
This commit is contained in:
parent
033747ceb5
commit
0cd4b885c8
@ -401,7 +401,7 @@ void Scene::setZoomPercents(int yStart, int minPercent, int yEnd, int maxPercent
|
||||
int var_6 = 0;
|
||||
int v = 0;
|
||||
while (v < yStart)
|
||||
_zoomPercents[v] = minPercent;
|
||||
_zoomPercents[v++] = minPercent;
|
||||
|
||||
int diff1 = ABS(maxPercent - minPercent);
|
||||
int diff2 = ABS(yEnd - yStart);
|
||||
|
Loading…
Reference in New Issue
Block a user