Skip to content

Commit

Permalink
BASS: Report savegame errors when saving by pressing enter
Browse files Browse the repository at this point in the history
This makes error handling consistent between mouse and keyboard.
  • Loading branch information
wjp committed Feb 13, 2012
1 parent 3f5aaa0 commit c7a5d31
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions engines/sky/control.cpp
Expand Up @@ -878,6 +878,8 @@ uint16 Control::saveRestorePanel(bool allowSave) {
clickRes = handleClick(lookList[0]);
if (clickRes == GAME_SAVED)
saveDescriptions(saveGameTexts);
else if (clickRes == NO_DISK_SPACE)
displayMessage(0, "Could not save the game. (%s)", _saveFileMan->popErrorDesc().c_str());
quitPanel = true;
_mouseClicked = false;
_keyPressed.reset();
Expand Down

0 comments on commit c7a5d31

Please sign in to comment.