1
This commit is contained in:
parent
980a8593e3
commit
f58677afb9
@ -5,6 +5,8 @@
|
||||
|
||||
#include "framework/cpp/utils.h"
|
||||
|
||||
#define DEBUG
|
||||
|
||||
void JsonDataMgr::Init()
|
||||
{
|
||||
if (!f8::IsOnlineEnv()) {
|
||||
|
@ -802,6 +802,16 @@ void Player::_CMMove(f8::MsgHdr& hdr, const cs::CMMove& msg)
|
||||
use_skill = false;
|
||||
}
|
||||
last_cmmove_frameno = room->GetFrameNo();
|
||||
#ifdef DEBUG
|
||||
if (msg.has_drop_weapon()) {
|
||||
SendDebugMsg(a8::Format("zzzzzzzz frameno:%d drop_weapon:%d", {room->GetFrameNo(), msg.drop_weapon()}));
|
||||
}
|
||||
if (msg.has_interaction()) {
|
||||
for (auto& obj_id : interaction_objids) {
|
||||
SendDebugMsg(a8::Format("zzzzzzzz frameno:%d takeon obj_id:%d", {room->GetFrameNo(), obj_id}));
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void Player::_CMExecCommand(f8::MsgHdr& hdr, const cs::CMExecCommand& msg)
|
||||
|
Loading…
x
Reference in New Issue
Block a user