Fix game object rotation - remove incorrect 90 degree offset

Game objects (wreaths, guild vaults, mailboxes, etc) were being rotated 90 degrees incorrectly due to an unnecessary orientation offset when spawning.

Fixed by removing the glm::radians(90.0f) offset from renderYaw calculation. Objects now use the correct server-provided orientation directly.

Affects both WMO and M2 game object rendering.
This commit is contained in:
Kelsi 2026-02-09 17:18:05 -08:00
parent c002f59699
commit 28aa88608f

View file

@ -2573,7 +2573,7 @@ void Application::spawnOnlineGameObject(uint64_t guid, uint32_t displayId, float
bool isWmo = lowerPath.size() >= 4 && lowerPath.substr(lowerPath.size() - 4) == ".wmo";
glm::vec3 renderPos = core::coords::canonicalToRender(glm::vec3(x, y, z));
float renderYaw = orientation + glm::radians(90.0f);
float renderYaw = orientation;
bool loadedAsWmo = false;
if (isWmo) {