comparison rogue5/rip.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 0250220d8cdd
children
comparison
equal deleted inserted replaced
303:e06ebc407615 304:e52a8a7ad4c5
106 106
107 signal(SIGINT, SIG_DFL); 107 signal(SIGINT, SIG_DFL);
108 108
109 #ifdef MASTER 109 #ifdef MASTER
110 if (wizard) 110 if (wizard)
111 {
111 if (strcmp(prbuf, "names") == 0) 112 if (strcmp(prbuf, "names") == 0)
112 prflags = 1; 113 prflags = 1;
113 else if (strcmp(prbuf, "edit") == 0) 114 else if (strcmp(prbuf, "edit") == 0)
114 prflags = 2; 115 prflags = 2;
116 }
115 #endif 117 #endif
116 rd_score(top_ten); 118 rd_score(top_ten);
117 /* 119 /*
118 * Insert her in list if need be 120 * Insert her in list if need be
119 */ 121 */