kleine nderung, ein cast von float nach sint16
damit die warnung verschwindet
This commit is contained in:
parent
2016d1cb50
commit
f0fb315b19
|
@ -131,7 +131,7 @@ void MenuMenu::render() {
|
||||||
bgarea.x = (int)pos.x-clen/2;
|
bgarea.x = (int)pos.x-clen/2;
|
||||||
bgarea.w = clen;
|
bgarea.w = clen;
|
||||||
}
|
}
|
||||||
bgarea.x = pos.x-maxlen/2;
|
bgarea.x = (Sint16)pos.x-maxlen/2;
|
||||||
bgarea.w = maxlen;
|
bgarea.w = maxlen;
|
||||||
|
|
||||||
//offset
|
//offset
|
||||||
|
|
Loading…
Reference in New Issue