fix(terrain): main game also propagates MODF scale to WMO instances

Mirrors the editor's WMO scale fix. WMOReady gains a scale field that
is computed from the loaded MODF placement.scale (u16 / 1024) and
forwarded to wmoRenderer->createInstance(). Without this the main
game ignored MODF scale even on WotLK ADTs that use it.
This commit is contained in:
Kelsi 2026-05-06 03:55:14 -07:00
parent cbf1d4638f
commit 1d05bb0f13
2 changed files with 5 additions and 1 deletions

View file

@ -99,6 +99,7 @@ struct PendingTile {
pipeline::WMOModel model;
glm::vec3 position;
glm::vec3 rotation;
float scale = 1.0f;
};
std::vector<WMOReady> wmoModels;