diff --git a/polymer/eduke32/source/player.c b/polymer/eduke32/source/player.c index aacf7a5f2..10d4da2c2 100644 --- a/polymer/eduke32/source/player.c +++ b/polymer/eduke32/source/player.c @@ -2066,7 +2066,7 @@ static void G_DrawTileScaled(int32_t x, int32_t y, int32_t tilenum, int32_t shad } #ifdef USE_OPENGL - if (getrendermode() >= 3 && usemodels && md_tilehasmodel(tilenum,p) > 0) + if (getrendermode() >= 3 && usemodels && md_tilehasmodel(tilenum,p) >= 0) y += (224-weapsc(224)); #endif rotatesprite(xadd+weapsc((orientation&1024)?x:(x<<16))+((xoff-weapsc(xoff))<<16),