comparison urogue/misc.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 c495a4f288c6
children
comparison
equal deleted inserted replaced
303:e06ebc407615 304:e52a8a7ad4c5
205 * passage and check for maze turns 205 * passage and check for maze turns
206 */ 206 */
207 207
208 if (off(player, ISBLIND)) 208 if (off(player, ISBLIND))
209 { 209 {
210 if (y == hero.y && x == hero.x || (inpass && (ch == '-' || 210 if ((y == hero.y && x == hero.x) || (inpass && (ch == '-' ||
211 ch == '|'))) 211 ch == '|')))
212 continue; 212 continue;
213 213
214 /* Are we at a crossroads in a maze? */ 214 /* Are we at a crossroads in a maze? */
215 215