From 1670801dba930b9fa9d6a2b4a953091970dc180a Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Wed, 8 Oct 2008 19:34:09 +0000 Subject: Replace hexen "shareware" variable with gamemode/gamemission. Use d_iwad.c code to find the IWAD file. Remove AddWADFile and use the w_wad.c API directly. Subversion-branch: /branches/raven-branch Subversion-revision: 1343 --- src/hexen/r_things.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/hexen/r_things.c') diff --git a/src/hexen/r_things.c b/src/hexen/r_things.c index b69e59d0..da8ed22e 100644 --- a/src/hexen/r_things.c +++ b/src/hexen/r_things.c @@ -209,7 +209,7 @@ void R_InitSpriteDefs(char **namelist) { //continue; sprites[i].numframes = 0; - if (shareware) + if (gamemode == shareware) continue; I_Error("R_InitSprites: No lumps found for sprite %s", namelist[i]); -- cgit v1.2.3