Skip to content

Commit

Permalink
Fixed: R_InitSpriteTextures inversed the iwad/addon test and thus err…
Browse files Browse the repository at this point in the history
…oneously

marked up iwad sprites as originating from addons and vice versa.
  • Loading branch information
danij-deng committed Aug 6, 2011
1 parent d69efed commit da42df1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/engine/portable/src/r_data.c
Expand Up @@ -2185,7 +2185,7 @@ void R_InitSpriteTextures(void)
Str_Init(&sprTex->name);
Str_Set(&sprTex->name, name);
sprTex->lumpNum = (lumpnum_t)i;
sprTex->isCustom = W_LumpIsFromIWAD(i);
sprTex->isCustom = !W_LumpIsFromIWAD(i);
}}

while(Stack_Height(stack))
Expand Down

0 comments on commit da42df1

Please sign in to comment.