1
0
Fork 0
mirror of https://github.com/k4zmu2a/SpaceCadetPinball.git synced 2025-09-06 00:10:15 +02:00

winmain: converted int to bool.

Cleaned up some of the PR changes.
This commit is contained in:
Muzychenko Andrey 2021-10-23 09:02:51 +03:00
parent 57af3af800
commit 5cd01807b2
6 changed files with 39 additions and 48 deletions

View file

@ -94,7 +94,7 @@ int TPlunger::Message(int code, float value)
if (PullbackTimer_)
timer::kill(PullbackTimer_);
PullbackTimer_ = 0;
if (code == 1005) // intended that this can never be reached (same as original)
if (code == 1005)
loader::play_sound(SoundIndexP2);
auto bmp = ListBitmap->at(0);
auto zMap = ListZMap->at(0);