From e3fb7c946727488bd57b184665c4e9a9f5b749a1 Mon Sep 17 00:00:00 2001 From: Himham <109818991+himham-jak@users.noreply.github.com> Date: Thu, 29 Jun 2023 16:45:53 -0400 Subject: [PATCH] Typo fix LTT_MSG_INSEPCT (#2778) Co-authored-by: ManDude <7569514+ManDude@users.noreply.github.com> --- common/listener_common.h | 2 +- game/kernel/jak1/klisten.cpp | 2 +- game/kernel/jak2/klisten.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/listener_common.h b/common/listener_common.h index 45e92b6fe3..808382c7fe 100644 --- a/common/listener_common.h +++ b/common/listener_common.h @@ -34,7 +34,7 @@ enum class ListenerMessageKind : u16 { */ enum ListenerToTargetMsgKind : u16 { LTT_MSG_POKE = 1, //! "Poke" the game and have it flush buffers - LTT_MSG_INSEPCT = 5, //! Inspect an object + LTT_MSG_INSPECT = 5, //! Inspect an object LTT_MSG_PRINT = 6, //! Print an object LTT_MSG_PRINT_SYMBOLS = 7, //! Print all symbols LTT_MSG_RESET = 8, //! Reset the game diff --git a/game/kernel/jak1/klisten.cpp b/game/kernel/jak1/klisten.cpp index 8e514a2d4e..0731d5272f 100644 --- a/game/kernel/jak1/klisten.cpp +++ b/game/kernel/jak1/klisten.cpp @@ -59,7 +59,7 @@ void ProcessListenerMessage(Ptr msg) { // just flush any pending stuff. ClearPending(); break; - case LTT_MSG_INSEPCT: + case LTT_MSG_INSPECT: inspect_object(atoi(msg.c())); ClearPending(); break; diff --git a/game/kernel/jak2/klisten.cpp b/game/kernel/jak2/klisten.cpp index 50005a157f..d701b2288c 100644 --- a/game/kernel/jak2/klisten.cpp +++ b/game/kernel/jak2/klisten.cpp @@ -73,7 +73,7 @@ void ProcessListenerMessage(Ptr msg) { // just flush any pending stuff. ClearPending(); break; - case LTT_MSG_INSEPCT: + case LTT_MSG_INSPECT: inspect_object(atoi(msg.c())); ClearPending(); break;