]> jfr.im git - irc/gameservirc.git/blobdiff - gameserv/c_forest.cpp
Finally got level.h/cpp compiling into the project... beginning to store
[irc/gameservirc.git] / gameserv / c_forest.cpp
index 711411f249ea606962a5d59869988b22c64b7ee8..7ab179f87e57a33540403c5d81af00e8d5160b9d 100644 (file)
@@ -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 \ 2%s\ 2!", p->fight->name);
                if (p->fight->hp < p->fight->maxhp)
                    p->fight->hp = p->fight->maxhp;