diff --git a/src/swrenderer/things/r_model.cpp b/src/swrenderer/things/r_model.cpp index e6db297161..24500bad7c 100644 --- a/src/swrenderer/things/r_model.cpp +++ b/src/swrenderer/things/r_model.cpp @@ -61,6 +61,7 @@ namespace swrenderer RenderModel::RenderModel(float x, float y, float z, FSpriteModelFrame *smf, AActor *actor, float idepth) : x(x), y(y), z(z), smf(smf), actor(actor) { + gpos = { x, y, z }; this->idepth = idepth; }