mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
NewObject pack now receives visitable position instead of h3m position
This commit is contained in:
@@ -961,7 +961,7 @@ void ApplyClientNetPackVisitor::visitNewObject(NewObject & pack)
|
||||
{
|
||||
cl.invalidatePaths();
|
||||
|
||||
const CGObjectInstance *obj = cl.getObj(pack.id);
|
||||
const CGObjectInstance *obj = cl.getObj(pack.createdObjectID);
|
||||
if(CGI->mh)
|
||||
CGI->mh->onObjectFadeIn(obj);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user