From 51fd9372508e65f17591cacaef6edd0fc2896829 Mon Sep 17 00:00:00 2001 From: David Cernat Date: Tue, 1 May 2018 20:39:43 +0300 Subject: [PATCH] [Server] Remove hardcoded debug messages when using script callbacks --- apps/openmw-mp/Script/Script.hpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/apps/openmw-mp/Script/Script.hpp b/apps/openmw-mp/Script/Script.hpp index 7b446e0b2..9076baea6 100644 --- a/apps/openmw-mp/Script/Script.hpp +++ b/apps/openmw-mp/Script/Script.hpp @@ -91,9 +91,6 @@ public: if (!callback) continue; - - LOG_MESSAGE_SIMPLE(Log::LOG_VERBOSE, "Called function \"%s\"", data.name); - if (script->script_type == SCRIPT_CPP) result = reinterpret_cast>>(callback)(std::forward(args)...); #if defined (ENABLE_PAWN) @@ -134,8 +131,6 @@ public: if (!callback) continue; - LOG_MESSAGE_SIMPLE(Log::LOG_VERBOSE, "Called function \"%s\"", data.name); - if (script->script_type == SCRIPT_CPP) reinterpret_cast>>(callback)(std::forward(args)...); #if defined (ENABLE_PAWN)