X-Git-Url: https://jfr.im/git/irc/gameservirc.git/blobdiff_plain/bf3a2ff9053b30a0ef85efcdb511c796b4718a3e..42106907f7ad612248bbcb1bf7515effe29e04c5:/gameserv/c_forest.cpp diff --git a/gameserv/c_forest.cpp b/gameserv/c_forest.cpp index 711411f..7ab179f 100644 --- a/gameserv/c_forest.cpp +++ b/gameserv/c_forest.cpp @@ -72,7 +72,7 @@ void do_forest(char *u) // 88% of forest searching turns up a monster if (eventnum >= 12) { - p->fight = new Monster(monsters[p->level - 1].random()); + p->fight = new Monster(levels[p->level - 1].monsters.random()); notice(s_GameServ, u, "You have found %s!", p->fight->name); if (p->fight->hp < p->fight->maxhp) p->fight->hp = p->fight->maxhp;