Renamed opcode 95 to o2_showItemString.

svn-id: r31185
This commit is contained in:
Johannes Schickel 2008-03-18 18:20:13 +00:00
parent 9dc4bcb407
commit 80a73d4ae6
2 changed files with 4 additions and 4 deletions

View File

@ -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);

View File

@ -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(),