mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-23 21:29:13 +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?
|
//TODO? should callback be disabled as well?
|
||||||
|
|
||||||
//Disabled interface will be deleted very soon, so switch LOCPLINT to next player available
|
//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());
|
LOCPLINT = dynamic_cast<CPlayerInterface*>(cl->playerint.begin()->second.get());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user