From 43f2d984fb4f9549a033de2c7198a1b522512f6b Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Thu, 23 Feb 2006 07:45:51 +0000 Subject: Don't call exit() directly. Instead, use the backend's quit() method for normal shutdown, and error() for abnormal termination. svn-id: r20818 --- engines/cine/object.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'engines/cine/object.cpp') diff --git a/engines/cine/object.cpp b/engines/cine/object.cpp index f9376f422d..6f3a534b5d 100644 --- a/engines/cine/object.cpp +++ b/engines/cine/object.cpp @@ -436,10 +436,9 @@ u8 compareObjectParam(u8 objIdx, u8 param1, s16 param2) { } default: { - printf - ("Unsupported compare type: %d in compareObjectParam\n", + error + ("Unsupported compare type: %d in compareObjectParam", param1 - 1); - exit(1); } } -- cgit v1.2.3