Changed some non-fatal messages back to warnings

svn-id: r38629
This commit is contained in:
Filippos Karapetis 2009-02-20 22:17:14 +00:00
parent 77542e8623
commit 637fa528f6

View File

@ -82,14 +82,14 @@ vocab_get_words(ResourceManager *resmgr, int *word_counter) {
vocab_version = 0; vocab_version = 0;
if (!resource) { if (!resource) {
error("SCI0: Could not find a main vocabulary, trying SCI01.\n"); warning("SCI0: Could not find a main vocabulary, trying SCI01.\n");
resource = scir_find_resource(resmgr, sci_vocab, resource = scir_find_resource(resmgr, sci_vocab,
VOCAB_RESOURCE_SCI1_MAIN_VOCAB, 0); VOCAB_RESOURCE_SCI1_MAIN_VOCAB, 0);
vocab_version = 1; vocab_version = 1;
} }
if (!resource) { if (!resource) {
error("SCI1: Could not find a main vocabulary"); warning("SCI1: Could not find a main vocabulary");
return NULL; /* NOT critical: SCI1 games and some demos don't have one! */ return NULL; /* NOT critical: SCI1 games and some demos don't have one! */
} }
@ -122,7 +122,7 @@ vocab_get_words(ResourceManager *resmgr, int *word_counter) {
currentword[currentwordpos++] = c; currentword[currentwordpos++] = c;
} }
if (seeker == resource->size) { if (seeker == resource->size) {
error("SCI1: Vocabulary not usable, disabling.\n"); warning("SCI1: Vocabulary not usable, disabling.\n");
vocab_free_words(words, counter); vocab_free_words(words, counter);
return NULL; return NULL;
} }