]> jfr.im git - irc/gameservirc.git/blobdiff - gameserv/do_attack.cpp
fixed some bugs with freebsd 5.3
[irc/gameservirc.git] / gameserv / do_attack.cpp
index 01173013fe3b1d9ffeace75b82774f487926a532..df1e07d62b07e1f8de5773bd1d6dca79375ad207 100644 (file)
@@ -36,11 +36,8 @@ void do_attack(char *u)
     }
   else
     {
-      if (!ni->stats->getMaster()) // This is not a master fight
-               fight = ni->stats->getMonster();       // Monster      Could be NULL
-      else                    // This IS a master fight
-               fight = ni->stats->getMaster();      // Master       Could be NULL
-         
+
+         fight = ni->stats->getMonster();       // Monster      Could be NULL
       battle = ni->stats->getBattle();             // Player       Could be NULL
          
       // One has to be !NULL based on the previous else if