opnsense-ports/games/edge/files/patch-src_w__sprite.cc
Franco Fichtner 8e6b151b19 */*: sync with upstream
Taken from: FreeBSD
2017-02-02 03:31:51 +01:00

11 lines
371 B
C++

--- src/w_sprite.cc.orig 2010-12-31 04:28:14 UTC
+++ src/w_sprite.cc
@@ -575,7 +575,7 @@ bool W_CheckSpritesExist(const state_gro
if (states[i].sprite == SPR_NULL)
continue;
- if (sprites[states[i].sprite]->frames > 0)
+ if (sprites[states[i].sprite]->numframes > 0)
return true;
// -AJA- only check one per group. It _should_ check them all,