Skip to content

Commit

Permalink
add gbRenderGold setters to the S_Start* functions
Browse files Browse the repository at this point in the history
  • Loading branch information
pionere committed Aug 8, 2024
1 parent 119ced9 commit c9d8fe0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Source/stores.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -881,6 +881,7 @@ static void S_StartNoRoom()
// ClearSText(STORE_LIST_FIRST, STORE_LINES);
// gbHasScroll = false;
gbWidePanel = true;
// gbRenderGold = true;
AddSText(0, 14, true, "You do not have enough room in inventory", COL_WHITE, true);

// AddSLine(3);
Expand All @@ -900,6 +901,7 @@ static void S_StartConfirm()
// ClearSText(STORE_LIST_FIRST, STORE_LINES);
// gbHasScroll = false;
gbWidePanel = true;
// gbRenderGold = true;
AddSItem(260, STORE_LIST_FIRST, 0, storeitem._iCurs, FALSE);
PrintStoreItem(&storeitem, STORE_LIST_FIRST - 1 + STORE_ITEM_LINES, false);
AddSTextVal(STORE_LIST_FIRST - 1 + STORE_ITEM_LINES, storeitem._iIvalue);
Expand Down Expand Up @@ -1117,7 +1119,7 @@ static void S_StartIdShow()
//ClearSText(STORE_LIST_FIRST, STORE_LINES);

gbWidePanel = true;
//gbRenderGold = true;
// gbRenderGold = true;
// gbHasScroll = false;

AddSItem(260, STORE_LIST_FIRST, 0, storeitem._iCurs, FALSE);
Expand Down Expand Up @@ -1212,6 +1214,7 @@ static void S_StartPriest()
static void S_StartErrand()
{
// gbWidePanel = false;
// gbRenderGold = false;
// gbHasScroll = false;
AddSText(0, 2, true, "Tremain the Priest", COL_GOLD, false);
// AddSText(0, 12, true, "Would you like to", COL_WHITE, false);
Expand Down

0 comments on commit c9d8fe0

Please sign in to comment.