summaryrefslogtreecommitdiff
path: root/games/edge/files/patch-src_w__sprite.cc
blob: 1f71d0f915120b303d81cb3323e5a747533fb741 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- 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,