]> jfr.im git - irc/gameservirc.git/blobdiff - gameserv/c_forest.cpp
Changed configscript.cpp to a smaller shell script
[irc/gameservirc.git] / gameserv / c_forest.cpp
index 9a8683fb7fb5176d441d438c26ecb72e638cf8b0..ea73aac879fd784102c575d77151c9e62534dea7 100644 (file)
@@ -65,7 +65,7 @@ void do_forest(char *u)
                 "till tomorrow!");
             return;
         }
-        else if (!is_fighting(u))
+        else if (!is_fighting(source))
         {
            int eventnum = rand() % 100;
            p->forest_fights--;