From ac7ec1febea7b1960f580b3c49c0f5627400ee79 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 27 Jan 2018 21:54:39 -0500 Subject: XEEN: Hopeful compilation fix --- engines/xeen/dialogs.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/engines/xeen/dialogs.h b/engines/xeen/dialogs.h index 536bd27e82..6117fbd78d 100644 --- a/engines/xeen/dialogs.h +++ b/engines/xeen/dialogs.h @@ -92,9 +92,15 @@ public: void restoreButtons(); void addButton(const Common::Rect &bounds, int val, - SpriteResource *sprites = nullptr); + SpriteResource *sprites); void addButton(const Common::Rect &bounds, int val, - uint frameNum, SpriteResource *sprites = nullptr); + uint frameNum, SpriteResource *sprites); + void addButton(const Common::Rect &bounds, int val) { + addButton(bounds, val, nullptr); + } + void addButton(const Common::Rect &bounds, int val, uint frameNum) { + addButton(bounds, val, frameNum, nullptr); + } void addPartyButtons(XeenEngine *vm); -- cgit v1.2.3