mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
cleanup
This commit is contained in:
@@ -123,7 +123,6 @@ CPlayerInterface::CPlayerInterface(PlayerColor Player)
|
|||||||
currentSelection = nullptr;
|
currentSelection = nullptr;
|
||||||
castleInt = nullptr;
|
castleInt = nullptr;
|
||||||
battleInt = nullptr;
|
battleInt = nullptr;
|
||||||
//pim = new boost::recursive_mutex;
|
|
||||||
makingTurn = false;
|
makingTurn = false;
|
||||||
showingDialog = new CondSh<bool>(false);
|
showingDialog = new CondSh<bool>(false);
|
||||||
cingconsole = new CInGameConsole;
|
cingconsole = new CInGameConsole;
|
||||||
@@ -140,8 +139,6 @@ CPlayerInterface::~CPlayerInterface()
|
|||||||
{
|
{
|
||||||
logGlobal->traceStream() << "\tHuman player interface for player " << playerID << " being destructed";
|
logGlobal->traceStream() << "\tHuman player interface for player " << playerID << " being destructed";
|
||||||
//howManyPeople--;
|
//howManyPeople--;
|
||||||
//delete pim;
|
|
||||||
//vstd::clear_pointer(pim);
|
|
||||||
delete showingDialog;
|
delete showingDialog;
|
||||||
delete cingconsole;
|
delete cingconsole;
|
||||||
if (LOCPLINT == this)
|
if (LOCPLINT == this)
|
||||||
|
|||||||
Reference in New Issue
Block a user