mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-21 21:17:49 +02:00
- compile fix
This commit is contained in:
parent
385f4ab7f5
commit
6ec96b50d7
@ -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());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user