projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20030815-1-src
[rocksndiamonds.git]
/
src
/
libgame
/
misc.c
diff --git
a/src/libgame/misc.c
b/src/libgame/misc.c
index f6cc110d4922e9e41be4fe8bae19fc1433919cab..70b2a5d6b802ccbcbe16894a44e5778ced15cfaf 100644
(file)
--- a/
src/libgame/misc.c
+++ b/
src/libgame/misc.c
@@
-2165,8
+2165,7
@@
static void LoadArtworkConfigFromFilename(struct ArtworkListInfo *artwork_info,
}
END_HASH_ITERATION(extra_file_hash, itr)
}
END_HASH_ITERATION(extra_file_hash, itr)
-#if DEBUG
- if (dynamic_tokens_found)
+ if (options.debug && dynamic_tokens_found)
{
Error(ERR_RETURN_LINE, "-");
Error(ERR_RETURN, "dynamic token(s) found in config file:");
{
Error(ERR_RETURN_LINE, "-");
Error(ERR_RETURN, "dynamic token(s) found in config file:");
@@
-2182,7
+2181,6
@@
static void LoadArtworkConfigFromFilename(struct ArtworkListInfo *artwork_info,
Error(ERR_RETURN_LINE, "-");
}
Error(ERR_RETURN_LINE, "-");
}
-#endif
if (unknown_tokens_found)
{
if (unknown_tokens_found)
{