|
@@ -377,13 +377,10 @@ void ApplyFirstClientNetPackVisitor::visitChangeObjPos(ChangeObjPos & pack)
|
|
|
void ApplyClientNetPackVisitor::visitChangeObjPos(ChangeObjPos & pack)
|
|
|
{
|
|
|
CGObjectInstance *obj = gs.getObjInstance(pack.objid);
|
|
|
- if(CGI)
|
|
|
+ if(CGI && CGI->mh)
|
|
|
{
|
|
|
- if(CGI->mh)
|
|
|
- {
|
|
|
- CGI->mh->onObjectFadeIn(obj, pack.initiator);
|
|
|
- CGI->mh->waitForOngoingAnimations();
|
|
|
- }
|
|
|
+ CGI->mh->onObjectFadeIn(obj, pack.initiator);
|
|
|
+ CGI->mh->waitForOngoingAnimations();
|
|
|
}
|
|
|
cl.invalidatePaths();
|
|
|
}
|