Since a DialogBox stops the emulator, we need to reset the speed.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
This commit is contained in:
Andrea Odetti 2021-05-28 19:23:51 +01:00
parent 83ab755144
commit 825cb59e62

View file

@ -219,6 +219,7 @@ namespace sa2
std::string s(lpText);
std::replace(s.begin(), s.end(), '\t', ' ');
SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_INFORMATION, lpCaption, s.c_str(), nullptr);
ResetSpeed();
return IDOK;
}