From 46bb9d42f66c425b7300daad01d0fe99e23cd91c Mon Sep 17 00:00:00 2001 From: William Brawner Date: Sun, 30 May 2021 18:23:22 -0600 Subject: [PATCH] Refactor InGameMenu::getBtn* and GUI::getControl(Ptr) for brevity Signed-off-by: William Brawner --- src/engine/game/gui/ingame/ingame.cpp | 10 ++-------- src/engine/gui/gui.cpp | 20 ++++++-------------- 2 files changed, 8 insertions(+), 22 deletions(-) diff --git a/src/engine/game/gui/ingame/ingame.cpp b/src/engine/game/gui/ingame/ingame.cpp index df02b1f6..de266c6d 100644 --- a/src/engine/game/gui/ingame/ingame.cpp +++ b/src/engine/game/gui/ingame/ingame.cpp @@ -250,17 +250,11 @@ void InGameMenu::onClick(const string &control) { } shared_ptr