player.c: fix a check of md_tilehasmodel return value against >0 (should be >=0)

git-svn-id: https://svn.eduke32.com/eduke32@2920 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2012-08-19 12:50:42 +00:00
parent 020f261015
commit e014246d82

View file

@ -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),