From 9b5235650d6338075ceab2decebada489945e505 Mon Sep 17 00:00:00 2001 From: btd Date: Sat, 13 Nov 2010 01:41:43 +0300 Subject: [PATCH] Fix mistake --- src/game/server/player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/server/player.cpp b/src/game/server/player.cpp index 976072073..0a23e5480 100644 --- a/src/game/server/player.cpp +++ b/src/game/server/player.cpp @@ -35,7 +35,7 @@ CPlayer::CPlayer(CGameContext *pGameServer, int CID, int Team) CPlayer::~CPlayer() { - if(!Character) Character->Destroy(); + if(Character) Character->Destroy(); } void CPlayer::Tick()