Skip to content

Commit

Permalink
XEEN: Second compilation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Jan 28, 2018
1 parent 6160f38 commit 3a937f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion engines/xeen/dialogs.cpp
Expand Up @@ -51,7 +51,7 @@ void ButtonContainer::addButton(const Common::Rect &bounds, int val,
}

void ButtonContainer::addButton(const Common::Rect &bounds, int val,
uint frameNum, SpriteResource *sprites) {
int frameNum, SpriteResource *sprites) {
_buttons.push_back(UIButton(bounds, val, frameNum, sprites, sprites != nullptr));
}

Expand Down
10 changes: 2 additions & 8 deletions engines/xeen/dialogs.h
Expand Up @@ -92,15 +92,9 @@ class ButtonContainer : public Cutscenes {
void restoreButtons();

void addButton(const Common::Rect &bounds, int val,
SpriteResource *sprites);
SpriteResource *sprites = nullptr);
void addButton(const Common::Rect &bounds, int val,
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);
}
int frameNum, SpriteResource *sprites = nullptr);

void addPartyButtons(XeenEngine *vm);

Expand Down

0 comments on commit 3a937f1

Please sign in to comment.