From 6ec96b50d70caf7179812c13d15fa331bb30f63f Mon Sep 17 00:00:00 2001 From: Ivan Savenko Date: Mon, 2 Sep 2013 13:24:32 +0000 Subject: [PATCH] - compile fix --- CCallback.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CCallback.cpp b/CCallback.cpp index f26170fe7..4b5e9ea54 100644 --- a/CCallback.cpp +++ b/CCallback.cpp @@ -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(cl->playerint.begin()->second.get()); }