had to add this to prevent crashing in the shop from buying a booster, i understand the need to reduce code but does every single function have to share every other classes functions? this was originally supposed to be a tiny change, but there was no way to define the difference between the card display used by shop and the ones used by grave and library.
This commit is contained in:
@@ -519,7 +519,7 @@ void GameStateShop::Update(float dt)
|
||||
if (btn == JGE_BTN_SEC)
|
||||
deleteDisplay();
|
||||
else {
|
||||
boosterDisplay->CheckUserInput(btn);
|
||||
boosterDisplay->CheckUserInputSHOP(btn);
|
||||
boosterDisplay->Update(dt);}
|
||||
return;
|
||||
}else if (btn == JGE_BTN_SEC)
|
||||
|
||||
Reference in New Issue
Block a user