aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2018-01-27 21:54:39 -0500
committerPaul Gilbert2018-01-27 21:54:39 -0500
commitac7ec1febea7b1960f580b3c49c0f5627400ee79 (patch)
treee6442d729e95f12c967f0462d06663083fd12f28
parentb1b0f6be2e46f690a3543415a22e121ea6db09cf (diff)
downloadscummvm-rg350-ac7ec1febea7b1960f580b3c49c0f5627400ee79.tar.gz
scummvm-rg350-ac7ec1febea7b1960f580b3c49c0f5627400ee79.tar.bz2
scummvm-rg350-ac7ec1febea7b1960f580b3c49c0f5627400ee79.zip
XEEN: Hopeful compilation fix
-rw-r--r--engines/xeen/dialogs.h10
1 files 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);