diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/prince/prince.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/engines/prince/prince.cpp b/engines/prince/prince.cpp index 5cec882c71..9499764333 100644 --- a/engines/prince/prince.cpp +++ b/engines/prince/prince.cpp @@ -1603,6 +1603,11 @@ void PrinceEngine::rightMouseButton() { } void PrinceEngine::inventoryLeftMouseButton() { + + _textSlots[0]._time = 0; + _textSlots[0]._str = nullptr; + stopSample(28); + if (_optionsFlag == 1) { //check_opt if (_selectedMob != 0) { @@ -1702,7 +1707,9 @@ void PrinceEngine::inventoryLeftMouseButton() { } void PrinceEngine::inventoryRightMouseButton() { - enableOptions(); + if (_textSlots[0]._str == nullptr) { + enableOptions(); + } } void PrinceEngine::enableOptions() { |