aboutsummaryrefslogtreecommitdiff
path: root/utils/adlmidi-2/puzzlegame.hpp
diff options
context:
space:
mode:
authorWohlstand <admin@wohlnet.ru>2017-11-09 01:24:05 +0300
committerWohlstand <admin@wohlnet.ru>2017-11-09 01:24:05 +0300
commit4e241bdbd6e992c981632710d68adef6bc836d4a (patch)
treec14580c435b2243175b3c1b6e40dd159df8caaf1 /utils/adlmidi-2/puzzlegame.hpp
parentb8f92368baca15f7520a0a3124b5899909c63042 (diff)
downloadlibADLMIDI-4e241bdbd6e992c981632710d68adef6bc836d4a.tar.gz
libADLMIDI-4e241bdbd6e992c981632710d68adef6bc836d4a.tar.bz2
libADLMIDI-4e241bdbd6e992c981632710d68adef6bc836d4a.zip
Added ability to use custom bank file from classic ADLMIDI tool
Diffstat (limited to 'utils/adlmidi-2/puzzlegame.hpp')
-rwxr-xr-xutils/adlmidi-2/puzzlegame.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/adlmidi-2/puzzlegame.hpp b/utils/adlmidi-2/puzzlegame.hpp
index 551d4bb..e8b3899 100755
--- a/utils/adlmidi-2/puzzlegame.hpp
+++ b/utils/adlmidi-2/puzzlegame.hpp
@@ -815,7 +815,7 @@ namespace ADLMIDI_PuzzleGame
virtual int MyGetCh()
{
int r = PendingAIinput;
- return r ? (PendingAIinput=0), r : GenerateAIinput();
+ return r ? static_cast<void>((PendingAIinput=0)), r : GenerateAIinput();
}
char d(char c, int maxdelay)
{