mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
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:
parent
020f261015
commit
e014246d82
1 changed files with 1 additions and 1 deletions
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue