"oread::barbanis%cs.umass.edu"@RELAY.CS.NET (12/22/87)
File shk.c wont compile if HARD is not defined. (Yes, I'm afraid
we prefer the easy version here.) Here's the patch:
*** shk.c.orig Mon Dec 21 17:30:34 1987
--- shk.c Mon Dec 21 17:30:34 1987
***************
*** 573,578
strcpy(buf, "For you, ");
if (ANGRY(shopkeeper)) strcat(buf, "scum ");
else {
switch(rnd(4) + u.udemigod) {
case 1: strcat(buf, "good");
break;
--- 573,579 -----
strcpy(buf, "For you, ");
if (ANGRY(shopkeeper)) strcat(buf, "scum ");
else {
+ #ifdef HARD
switch(rnd(4) + u.udemigod) {
#else
switch(rnd(4)) {
***************
*** 574,579
if (ANGRY(shopkeeper)) strcat(buf, "scum ");
else {
switch(rnd(4) + u.udemigod) {
case 1: strcat(buf, "good");
break;
case 2: strcat(buf, "honored");
--- 575,583 -----
else {
#ifdef HARD
switch(rnd(4) + u.udemigod) {
+ #else
+ switch(rnd(4)) {
+ #endif
case 1: strcat(buf, "good");
break;
case 2: strcat(buf, "honored");
George Barbanis
UMass - Amherst
barbanis@cs.umass.edu