kleine nderung, ein cast von float nach sint16

damit die warnung verschwindet
This commit is contained in:
seba 2008-04-05 02:58:11 +02:00
parent 2016d1cb50
commit f0fb315b19
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ void MenuMenu::render() {
bgarea.x = (int)pos.x-clen/2;
bgarea.w = clen;
}
bgarea.x = pos.x-maxlen/2;
bgarea.x = (Sint16)pos.x-maxlen/2;
bgarea.w = maxlen;
//offset