Typo fix LTT_MSG_INSEPCT (#2778)

Co-authored-by: ManDude <7569514+ManDude@users.noreply.github.com>
This commit is contained in:
Himham 2023-06-29 16:45:53 -04:00 committed by GitHub
parent 7570978c4b
commit e3fb7c9467
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -34,7 +34,7 @@ enum class ListenerMessageKind : u16 {
*/ */
enum ListenerToTargetMsgKind : u16 { enum ListenerToTargetMsgKind : u16 {
LTT_MSG_POKE = 1, //! "Poke" the game and have it flush buffers 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 = 6, //! Print an object
LTT_MSG_PRINT_SYMBOLS = 7, //! Print all symbols LTT_MSG_PRINT_SYMBOLS = 7, //! Print all symbols
LTT_MSG_RESET = 8, //! Reset the game LTT_MSG_RESET = 8, //! Reset the game

View file

@ -59,7 +59,7 @@ void ProcessListenerMessage(Ptr<char> msg) {
// just flush any pending stuff. // just flush any pending stuff.
ClearPending(); ClearPending();
break; break;
case LTT_MSG_INSEPCT: case LTT_MSG_INSPECT:
inspect_object(atoi(msg.c())); inspect_object(atoi(msg.c()));
ClearPending(); ClearPending();
break; break;

View file

@ -73,7 +73,7 @@ void ProcessListenerMessage(Ptr<char> msg) {
// just flush any pending stuff. // just flush any pending stuff.
ClearPending(); ClearPending();
break; break;
case LTT_MSG_INSEPCT: case LTT_MSG_INSPECT:
inspect_object(atoi(msg.c())); inspect_object(atoi(msg.c()));
ClearPending(); ClearPending();
break; break;