1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-03-21 21:17:49 +02:00

- compile fix

This commit is contained in:
Ivan Savenko 2013-09-02 13:24:32 +00:00
parent 385f4ab7f5
commit 6ec96b50d7

View File

@ -358,7 +358,7 @@ void CCallback::unregisterMyInterface()
//TODO? should callback be disabled as well?
//Disabled interface will be deleted very soon, so switch LOCPLINT to next player available
if(playerInt == LOCPLINT && cl->playerint.size())
if(playerInt.get() == LOCPLINT && cl->playerint.size())
{
LOCPLINT = dynamic_cast<CPlayerInterface*>(cl->playerint.begin()->second.get());
}