- fixed missing depth for models

(cherry picked from commit 4642861501)
This commit is contained in:
Magnus Norddahl 2018-05-06 03:23:07 +02:00 committed by drfrag666
parent 2f1c5ee5d2
commit 5a6eb48690

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)
{
gpos = { x, y, z };
this->idepth = idepth;
}