Commit dc4a2800 authored by mercury233's avatar mercury233

Revert "show btnReplaySwap only when paused"

This reverts commit 38a642b6.
parent 38a642b6
......@@ -54,7 +54,6 @@ 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);
......@@ -66,7 +65,6 @@ 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,7 +228,6 @@ 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