forked from mirror/openmw-tes3mp
Merge branch 'master' of https://github.com/TES3MP/openmw-tes3mp
This commit is contained in:
commit
120a4400d9
2 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ void ScriptFunctions::SendMessage(unsigned short pid, const char *message, bool
|
|||
|
||||
*player->ChatMessage() = message;
|
||||
|
||||
DEBUG_PRINTF("System: %s", message);
|
||||
LOG_MESSAGE_SIMPLE(Log::LOG_VERBOSE, "System: %s", message);
|
||||
|
||||
mwmp::Networking::get().getPlayerController()->GetPacket(ID_CHAT_MESSAGE)->Send(player, false);
|
||||
if (broadcast)
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#include <vector>
|
||||
|
||||
#if (!defined(DEBUG_PRINTF) && defined(DEBUG))
|
||||
#define DEBUG_PRINTF printf
|
||||
#define DEBUG_PRINTF(...) LOG_MESSAGE_SIMPLE(Log::LOG_VERBOSE, __VA_ARGS__)
|
||||
#else
|
||||
#define DEBUG_PRINTF(...)
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue