From d86e744250d186cf634897cd7b6d5ec9037f2f35 Mon Sep 17 00:00:00 2001 From: David Cernat Date: Sun, 7 Jun 2020 01:59:18 +0200 Subject: [PATCH] [Client] Fix typos in comments about marking InterpreterContext types --- apps/openmw/engine.cpp | 2 +- apps/openmw/mwdialogue/dialoguemanagerimp.cpp | 2 +- apps/openmw/mwscript/globalscripts.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/openmw/engine.cpp b/apps/openmw/engine.cpp index 4fc94d041..6e0917f89 100644 --- a/apps/openmw/engine.cpp +++ b/apps/openmw/engine.cpp @@ -110,7 +110,7 @@ void OMW::Engine::executeLocalScripts() /* Start of tes3mp addition - Mark this InterpreterContext as having a CONSOLE context, + Mark this InterpreterContext as having a SCRIPT_LOCAL context, so that packets sent by the Interpreter can have their origin determined by serverside scripts */ diff --git a/apps/openmw/mwdialogue/dialoguemanagerimp.cpp b/apps/openmw/mwdialogue/dialoguemanagerimp.cpp index 1b7c740e3..68b39eff1 100644 --- a/apps/openmw/mwdialogue/dialoguemanagerimp.cpp +++ b/apps/openmw/mwdialogue/dialoguemanagerimp.cpp @@ -258,7 +258,7 @@ namespace MWDialogue /* Start of tes3mp addition - Mark this InterpreterContext as having a CONSOLE context, + Mark this InterpreterContext as having a DIALOGUE context, so that packets sent by the Interpreter can have their origin determined by serverside scripts */ diff --git a/apps/openmw/mwscript/globalscripts.cpp b/apps/openmw/mwscript/globalscripts.cpp index cda44549d..41d835bc4 100644 --- a/apps/openmw/mwscript/globalscripts.cpp +++ b/apps/openmw/mwscript/globalscripts.cpp @@ -172,7 +172,7 @@ namespace MWScript /* Start of tes3mp addition - Mark this InterpreterContext as having a GLOBAL_SCRIPT context, + Mark this InterpreterContext as having a SCRIPT_GLOBAL context, so that packets sent by the Interpreter can have their origin determined by serverside scripts */