Fix compiler warnings

This commit is contained in:
kichikuou
2019-09-16 11:00:31 +09:00
parent 3c0fe94460
commit 75d328f015
5 changed files with 12 additions and 12 deletions
+3 -3
View File
@@ -391,7 +391,7 @@ void NACT::cmd_open_menu()
if(terminate) {
return;
}
if(val = get_key()) {
if((val = get_key())) {
SDL_Delay(100);
break;
}
@@ -560,7 +560,7 @@ void NACT::cmd_open_verb()
if(terminate) {
return;
}
if(val = get_key()) {
if((val = get_key())) {
SDL_Delay(100);
break;
}
@@ -704,7 +704,7 @@ void NACT::cmd_open_obj(int verb)
if(terminate) {
return;
}
if(val = get_key()) {
if((val = get_key())) {
SDL_Delay(100);
break;
}