Uncap Demolitionist Menu height (for 4:3 and 5:4).
This commit is contained in:
parent
b59e1ba285
commit
04b5767a90
2 changed files with 3 additions and 6 deletions
|
|
@ -161,10 +161,7 @@ Class DemolitionistMenu : GenericMenu
|
|||
ss = (Screen.GetWidth(),Screen.GetHeight())/hs;
|
||||
ws.x = 640.;
|
||||
double th = 640*(ss.y/ss.x);
|
||||
ws.y = clamp(round(th),266.,400.);
|
||||
/*if ( th >= 400. ) ws.y = 400.;
|
||||
else if ( th >= 360. ) ws.y = 360.;
|
||||
else ws.y = 266.;*/
|
||||
ws.y = round(th);
|
||||
origin = (int(ss.x-ws.x)/2,int(ss.y-ws.y)/2);
|
||||
MenuSound("menu/demoopen");
|
||||
[ikey[0], ikey[1]] = Bindings.GetKeysForCommand("event swwmdemomenu");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue