TSAGE: Fix for inflinite loop setting scene zoom percents

This commit is contained in:
Paul Gilbert 2011-02-27 00:28:38 +11:00
parent 033747ceb5
commit 0cd4b885c8

View File

@ -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);