Fixed game list rendering one entry short.

This commit is contained in:
Aloshi 2013-01-08 11:34:17 -06:00
parent 3d17f30f5b
commit 016df5864f

View file

@ -41,7 +41,7 @@ void GuiList<listType>::onRender()
//number of entries that can fit on the screen simultaniously
int screenCount = (Renderer::getScreenHeight() - cutoff) / entrySize;
screenCount -= 1;
//screenCount -= 1;
if((int)mRowVector.size() >= screenCount)
{