aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--saga/game.cpp4
-rw-r--r--saga/resnames.h5
-rw-r--r--saga/script.cpp2
3 files changed, 6 insertions, 5 deletions
diff --git a/saga/game.cpp b/saga/game.cpp
index f19b80ee05..1466daa4d9 100644
--- a/saga/game.cpp
+++ b/saga/game.cpp
@@ -263,7 +263,7 @@ GAMEDESC GameDescs[] = {
GAME_IHNM_DEMO,
"I Have No Mouth and I Must Scream (DOS Demo)",
640, 480,
- 304,
+ 7,
0,
&IHNM_Resources,
ARRAYSIZE(IHNMDEMO_GameFiles),
@@ -281,7 +281,7 @@ GAMEDESC GameDescs[] = {
GAME_IHNM_CD,
"I Have No Mouth and I Must Scream (DOS)",
640, 480,
- 304,
+ 7,
152,
&IHNM_Resources,
ARRAYSIZE(IHNMCD_GameFiles),
diff --git a/saga/resnames.h b/saga/resnames.h
index 95f35d1b65..fb4bc0f3d3 100644
--- a/saga/resnames.h
+++ b/saga/resnames.h
@@ -32,8 +32,9 @@ namespace Saga {
#define ITE_SCENE_LUT 1806
#define ITE_SCRIPT_LUT 216
-#define IHNM_SCENE_LUT 1272
-#define IHNM_SCRIPT_LUT 0
+ // Hmmm.... as far as I see origginal uses now commented values, but they're wrong
+#define IHNM_SCENE_LUT 1272 // 286
+#define IHNM_SCRIPT_LUT 0 // 18
// SCENES
#define ITE_DEFAULT_SCENE 32
diff --git a/saga/script.cpp b/saga/script.cpp
index beb3173d12..228b8f2191 100644
--- a/saga/script.cpp
+++ b/saga/script.cpp
@@ -83,7 +83,7 @@ Script::Script() {
} else if (rsc_len % S_LUT_ENTRYLEN_ITEDISK == 0) {
_scriptLUTEntryLen = S_LUT_ENTRYLEN_ITEDISK;
} else {
- error("Error: Invalid script lookup table length");
+ error("Error: Invalid script lookup table length (%d)", rsc_len);
}
// Calculate number of entries