comparison rogue4/command.c @ 304:e52a8a7ad4c5

Fix many compiler warnings. There should only be two changes in behavior: arogue7/fight.c, arogue7/fight.c: a to-hit bonus is now correctly applied to characters who are not monks instead of monks who are not empty-handed. urogue/fight.c: fixed an interaction with the "debug" macro that could cause the wrong message to be displayed.
author John "Elwin" Edwards
date Wed, 14 Apr 2021 18:55:33 -0400
parents 1b73a8641b37
children
comparison
equal deleted inserted replaced
303:e06ebc407615 304:e52a8a7ad4c5
247 turn_see(TRUE); 247 turn_see(TRUE);
248 msg("not wizard any more"); 248 msg("not wizard any more");
249 } 249 }
250 else 250 else
251 { 251 {
252 if (wizard = passwd()) 252 if ( (wizard = passwd()) )
253 { 253 {
254 noscore = TRUE; 254 noscore = TRUE;
255 turn_see(FALSE); 255 turn_see(FALSE);
256 msg("you are suddenly as smart as Ken Arnold in dungeon #%d", dnum); 256 msg("you are suddenly as smart as Ken Arnold in dungeon #%d", dnum);
257 } 257 }