Changed errors to be fatal, as most of them are fatal conditions. Some of them have been changed to warnings for now, as they occur in certain games (e.g. SQ4 floppy, SQ4 CD and KQ5 CD)

svn-id: r40675
This commit is contained in:
Filippos Karapetis 2009-05-18 07:55:13 +00:00
parent 243bb790e8
commit 1239949ef2
10 changed files with 76 additions and 75 deletions

View file

@ -36,10 +36,7 @@ int sci_debug_flags = 0; // Special flags
void _SCIkwarn(EngineState *s, const char *file, int line, int area, const char *format, ...) {
va_list args;
if (area == SCIkERROR_NR)
fprintf(stderr, "ERROR: ");
else
fprintf(stderr, "Warning: ");
fprintf(stderr, "Warning: ");
va_start(args, format);
vfprintf(stderr, format, args);