From 16a7046519e1d0c355358e722e968a0c7de24b02 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Thu, 9 Sep 2010 12:01:04 +0000 Subject: SCI: Changed the error message when execute_method() references an invalid export svn-id: r52653 --- engines/sci/engine/vm.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines') diff --git a/engines/sci/engine/vm.cpp b/engines/sci/engine/vm.cpp index b03b1a8f20..eaf6d2e126 100644 --- a/engines/sci/engine/vm.cpp +++ b/engines/sci/engine/vm.cpp @@ -318,10 +318,10 @@ ExecStack *execute_method(EngineState *s, uint16 script, uint16 pubfunct, StackP // HACK: Temporarily switch to a warning in SCI32 games until we can figure out why Torin has // an invalid exported function. if (getSciVersion() >= SCI_VERSION_2) - warning("Request for invalid exported function 0x%x of script 0x%x", pubfunct, script); + warning("Request for invalid exported function 0x%x of script %d", pubfunct, script); else #endif - error("Request for invalid exported function 0x%x of script 0x%x", pubfunct, script); + error("Request for invalid exported function 0x%x of script %d", pubfunct, script); return NULL; } -- cgit v1.2.3