- fixed missing depth for models

This commit is contained in:
Magnus Norddahl 2018-05-06 03:23:07 +02:00
parent 1d929dd79b
commit 4642861501

View file

@ -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) 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; this->idepth = idepth;
} }