Commit 60dcb295 authored by mercury233's avatar mercury233

Merge branch 'fh' into resize

parents 059c58e3 38a642b6
......@@ -54,6 +54,7 @@ bool ClientField::OnEvent(const irr::SEvent& event) {
break;
soundManager.PlaySoundEffect(SOUND_BUTTON);
mainGame->btnReplayStart->setVisible(false);
mainGame->btnReplaySwap->setVisible(false);
mainGame->btnReplayPause->setVisible(true);
mainGame->btnReplayStep->setVisible(false);
mainGame->btnReplayUndo->setVisible(false);
......@@ -65,6 +66,7 @@ bool ClientField::OnEvent(const irr::SEvent& event) {
break;
soundManager.PlaySoundEffect(SOUND_BUTTON);
mainGame->btnReplayStart->setVisible(true);
mainGame->btnReplaySwap->setVisible(true);
mainGame->btnReplayPause->setVisible(false);
mainGame->btnReplayStep->setVisible(true);
mainGame->btnReplayUndo->setVisible(true);
......
......@@ -228,6 +228,7 @@ bool MenuHandler::OnEvent(const irr::SEvent& event) {
mainGame->wReplay->setVisible(true);
mainGame->wReplayControl->setVisible(true);
mainGame->btnReplayStart->setVisible(false);
mainGame->btnReplaySwap->setVisible(false);
mainGame->btnReplayPause->setVisible(true);
mainGame->btnReplayStep->setVisible(false);
mainGame->btnReplayUndo->setVisible(false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment