From bab8e2ef33fcfbaf72ca9d0dd2f343c0cd2139f1 Mon Sep 17 00:00:00 2001 From: Akkadius Date: Fri, 16 Jan 2015 01:47:27 -0600 Subject: [PATCH] Removed preprocessor EQDEBUG from EQStream from unknown opcode to Application map --- common/eq_stream.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/common/eq_stream.cpp b/common/eq_stream.cpp index 9a957f5a7..39659e897 100644 --- a/common/eq_stream.cpp +++ b/common/eq_stream.cpp @@ -958,11 +958,10 @@ EQRawApplicationPacket *p=nullptr; if(p) { if(OpMgr != nullptr && *OpMgr != nullptr) { EmuOpcode emu_op = (*OpMgr)->EQToEmu(p->opcode); -#if EQDEBUG >= 4 - if(emu_op == OP_Unknown) { + if (emu_op == OP_Unknown) { logger.LogDebugType(EQEmuLogSys::General, EQEmuLogSys::Netcode, "[ERROR] Unable to convert EQ opcode 0x%.4x to an Application opcode.", p->opcode); } -#endif + p->SetOpcode(emu_op); } }