Browse Source

Only show level up icon when there is space for it

Thanks to @de4me for pointing this out and figuring out the height
pull/442/head
Anders Jenbo 6 years ago
parent
commit
34a6615fed
  1. 3
      Source/scrollrt.cpp

3
Source/scrollrt.cpp

@ -893,7 +893,8 @@ void DrawView(int StartX, int StartY)
} else if (questlog) {
DrawQuestLog();
}
if (!chrflag && plr[myplr]._pStatPts != 0 && !spselflag) {
if (!chrflag && plr[myplr]._pStatPts != 0 && !spselflag
&& (!questlog || SCREEN_HEIGHT >= SPANEL_HEIGHT + PANEL_HEIGHT + 74 || SCREEN_WIDTH >= 4 * SPANEL_WIDTH)) {
DrawLevelUpIcon();
}
if (uitemflag) {

Loading…
Cancel
Save