]> jfr.im git - irc/gameservirc.git/commitdiff
Fixed a bug that would allow a player to run from a player vs player fight, but still...
authorkainazzzo <redacted>
Mon, 23 Oct 2006 02:58:15 +0000 (02:58 +0000)
committerkainazzzo <redacted>
Mon, 23 Oct 2006 02:58:15 +0000 (02:58 +0000)
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@457 bc333340-6410-0410-a689-9d09f3c113fa

gameserv/gameserv.cpp
gameserv/tcpclient.cpp

index 09c6f90911609f49d270c65df38b78a0ddbc28ed..8bb30b2833ac377b6eacfd929aeb5dd59da93fb2 100644 (file)
@@ -1966,6 +1966,7 @@ void do_run(char *u)
          notice(s_GameServ, p->getBattle()->getNick(), "\ 2%s\ 2 ran away from you like a little baby!", p->getName().c_str());
          addNews(todaysnews, "%s ran away from %s like a little baby!!", p->getName().c_str(), p2->getName().c_str()); /* DrLnet - edited by Kain */
          p2->delBattle();
+         p->delBattle();
        }
   else if (player_fight(user) && !isYourTurn(p))
     {
index 90cfc7062d8721833004c157c76bbf859716ac5c..d6ab14e0e1c123e7ba2f2af535c8b8b61dde26e2 100644 (file)
@@ -33,7 +33,7 @@
 using namespace std;
 
 char *PACKAGE = "GameServ";
-char *VERSION = "1.3.3 +devel";
+char *VERSION = "1.3.4 +devel";
 
 int sock;
 long lastrefresh;