Dirty hack to not show a warning for "ignored.key". Temporary until

the new resource system.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1199 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
meep-eep
2003-09-05 04:14:40 +00:00
parent 5908839d3c
commit 1bfb57c525
+7 -1
View File
@@ -303,7 +303,13 @@ load_package (INDEX_HEADERPTR ResHeaderPtr, RES_PACKAGE res_package)
if (fp == NULL)
{
#if 1 // def DEBUG
fprintf (stderr, "Can't open '%s'\n", file_buf);
// HACK: added the 'if' here as not to scare people
// with the warning for this workaround.
// It will go with the new resource system.
// (together with the rest of this file)
if (strcmp(file_buf, "ignored.key") != 0) {
fprintf (stderr, "Can't open '%s'\n", file_buf);
}
#endif /* DEBUG */
}
else