Skip to content

Commit

Permalink
No extres + dcf_ext => not a valid decoration (but commented out)
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Sep 4, 2003
1 parent 82d42f6 commit d2c5ec8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions doomsday/Src/r_data.c
Expand Up @@ -730,7 +730,15 @@ boolean R_IsAllowedDecoration
(ded_decor_t *def, int index, boolean hasExternal)
{
if(hasExternal)
{
return (def->flags & DCRF_EXTERNAL) != 0;
}
/* else if(def->flags & DCRF_EXTERNAL)
{
// If the decoration is marked for external resources, and there
// are none present, disallow using this decoration.
return false;
}*/

if(def->is_texture)
{
Expand Down

0 comments on commit d2c5ec8

Please sign in to comment.