mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-04 01:46:42 +00:00
PINK: fixed right button click when playing pub minigame
This commit is contained in:
parent
9c4e624410
commit
a0cdc82694
@ -499,4 +499,9 @@ bool PubPink::playingMiniGame() {
|
||||
_page->checkValueOfVariable(kFoodPuzzle, kUndefinedValue));
|
||||
}
|
||||
|
||||
void PubPink::onRightButtonClick(const Common::Point point) {
|
||||
if (!playingMiniGame())
|
||||
LeadActor::onRightButtonClick(point);
|
||||
}
|
||||
|
||||
} // End of namespace Pink
|
||||
|
@ -71,7 +71,7 @@ public:
|
||||
void onKeyboardButtonClick(Common::KeyCode code);
|
||||
void onLeftButtonClick(const Common::Point point);
|
||||
void onLeftButtonUp();
|
||||
void onRightButtonClick(const Common::Point point);
|
||||
virtual void onRightButtonClick(const Common::Point point);
|
||||
|
||||
void onMouseMove(const Common::Point point);
|
||||
|
||||
@ -140,6 +140,8 @@ class PubPink : public LeadActor {
|
||||
public:
|
||||
void toConsole() const override;
|
||||
|
||||
void onRightButtonClick(const Common::Point point) override;
|
||||
|
||||
void onLeftClickMessage() override;
|
||||
void onVariableSet() override;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user