aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/kyra/kyra_v2.h2
-rw-r--r--engines/kyra/script_v2.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/engines/kyra/kyra_v2.h b/engines/kyra/kyra_v2.h
index 5f83846382..9417e85fbc 100644
--- a/engines/kyra/kyra_v2.h
+++ b/engines/kyra/kyra_v2.h
@@ -1031,7 +1031,7 @@ protected:
int o2_blockInRegion(ScriptState *script);
int o2_blockOutRegion(ScriptState *script);
int o2_setCauldronState(ScriptState *script);
- int o2_showPickUpString(ScriptState *script);
+ int o2_showItemString(ScriptState *script);
int o2_getRand(ScriptState *script);
int o2_setDeathHandlerFlag(ScriptState *script);
int o2_setDrawNoShapeFlag(ScriptState *script);
diff --git a/engines/kyra/script_v2.cpp b/engines/kyra/script_v2.cpp
index b7a5965aa0..0f0d1a6731 100644
--- a/engines/kyra/script_v2.cpp
+++ b/engines/kyra/script_v2.cpp
@@ -857,8 +857,8 @@ int KyraEngine_v2::o2_setCauldronState(ScriptState *script) {
return 0;
}
-int KyraEngine_v2::o2_showPickUpString(ScriptState *script) {
- debugC(3, kDebugLevelScriptFuncs, "KyraEngine_v2::o2_showPickUpString(%p) (%d, %d)", (const void *)script, stackPos(0), stackPos(1));
+int KyraEngine_v2::o2_showItemString(ScriptState *script) {
+ debugC(3, kDebugLevelScriptFuncs, "KyraEngine_v2::o2_showItemString(%p) (%d, %d)", (const void *)script, stackPos(0), stackPos(1));
const int item = stackPos(0);
int string = 0;
@@ -1775,7 +1775,7 @@ void KyraEngine_v2::setupOpcodeTable() {
Opcode(o2_blockOutRegion),
OpcodeUnImpl(),
Opcode(o2_setCauldronState),
- Opcode(o2_showPickUpString),
+ Opcode(o2_showItemString),
// 0x60
Opcode(o2_getRand),
OpcodeUnImpl(),