]> jfr.im git - irc/gameservirc.git/blobdiff - gameserv/gameserv.cpp
Fixed bug # 998029 causing a crash on gentoo systems due to a mistake in code:
[irc/gameservirc.git] / gameserv / gameserv.cpp
index b797ac631e74b3b221d2eda51182f026efcb9691..d1b50f7ab84013cf67b543fb66c3947aac7502ad 100644 (file)
@@ -2844,7 +2844,7 @@ void do_dragon(char *u)
     notice(s_GameServ, u, "You adjust your %s, tighten your grip on "\
        "your %s, and venture into the hot, dark cave. "\
        "You are surprised at the angle of descent as you climb "\
-       "lower and lower, deeper into the dragon's den.");
+       "lower and lower, deeper into the dragon's den.", armors[p->level - 1], weapons[p->level - 1]);
     notice(s_GameServ, u, "You come to the end of the cave to find "\
        "a tooth. It is a large tooth... bigger than your torso."\
        " Suddenly the darkness lifts from the gleam of an eye "\
@@ -3467,13 +3467,6 @@ bool load_monsters()
 
             strcpy(temp->name, strtok(buf, "~"));
             strcpy(temp->weapon, strtok(NULL, "~"));
-           /*
-            temp->strength = stringtoint(strtok(NULL, "~"));
-            temp->gold = stringtoint(strtok(NULL, "~"));
-            temp->exp = stringtoint(strtok(NULL, "~"));
-            temp->maxhp = stringtoint(strtok(NULL, "~"));
-            temp->hp = temp->maxhp;
-           */
             strcpy(temp->death, strtok(NULL, "~"));
 
        levels[level - 1].monsters.insertAtBack_RLN(temp);