Skip to content

Commit

Permalink
GameObject: Make Go type 11 use correct highguid
Browse files Browse the repository at this point in the history
Just a fair warning, a lot of things might go wrong here. That being said, this is supported by evidence. The temporary GOs never create type 11 so only here a change is needed
  • Loading branch information
killerwife committed Feb 20, 2025
1 parent 6a85e79 commit 124115d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/Entities/GameObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ bool GameObject::Create(uint32 dbGuid, uint32 guidlow, uint32 name_id, Map* map,
return false;
}

Object::_Create(dbGuid, guidlow, goinfo->id, HIGHGUID_GAMEOBJECT);
Object::_Create(dbGuid, guidlow, goinfo->id, goinfo->type == GAMEOBJECT_TYPE_TRANSPORT ? HIGHGUID_TRANSPORT : HIGHGUID_GAMEOBJECT);

m_goInfo = goinfo;

Expand Down

2 comments on commit 124115d

@kotsmotritnastul
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

now it stucks on "loading characters"

@killerwife
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ty, will investigate today.

Please sign in to comment.