- Adding option to interrupt AI after main phase 2
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-12-20 02:48:25 +00:00
parent 8bc2249b9b
commit 1b91bbdff7
2 changed files with 3 additions and 2 deletions

View File

@@ -511,7 +511,7 @@ void WGuiList::Render(){
}
//Find out how large our list is.
for (int pos=0;pos < nbitems; pos++){
listHeight+=items[pos]->getHeight()+5;
listHeight+=items[pos]->getHeight()+1; //What does the +1 do exactly ?
if(items[pos]->Selectable()){
listSelectable++;
if(pos < currentItem) adjustedCurrent++;