]> jfr.im git - irc/gameservirc.git/commitdiff
made some changes to the player constructors
authorkainazzzo <redacted>
Mon, 17 Apr 2006 04:44:42 +0000 (04:44 +0000)
committerkainazzzo <redacted>
Mon, 17 Apr 2006 04:44:42 +0000 (04:44 +0000)
git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@450 bc333340-6410-0410-a689-9d09f3c113fa

gameserv/Changes
gameserv/player.cpp

index a3b604d1fa9f212875edc8c22a7388606569e423..4dd0eb94a80b57a272e9b6b458921e595b1acbd4 100644 (file)
@@ -1,4 +1,5 @@
 Version 1.3.4
+* Fixed a new bug that crashed gameserv when someone attempted to register a nickname - Kain
 * SET [playername] HP # now also sets the Max HP for a player if it's lower than what you're
     setting the hp to. If you type /msg gameserv set player hp 1000, but their maxhp was
     only 10, their maxhp will now be 1000 also - Kain
index f0651239560571247903f529d86ce56d742afb99..70572a5200b083d685c79eb70a3176b78af1881c 100644 (file)
@@ -68,8 +68,6 @@ Player::Player(char *n)
 
 Player::Player(string n)
 {
-  if (inventory != NULL)
-       delete inventory;
   inventory = new pouch();
   reset();
   name = n;