This commit is contained in:
aozhiwei 2024-04-22 20:56:12 +08:00
parent abf374d3cf
commit 8c56a6ae63
2 changed files with 3 additions and 7 deletions

View File

@ -302,8 +302,8 @@ private:
return source_name; return source_name;
}); });
owner_.Get()->GetAbility()->SetSource(attr_handle, cb); owner_.Get()->GetAbility()->SetSource(attr_handle, cb);
}
#endif #endif
}
} }
} }
} }
@ -334,8 +334,8 @@ private:
return source_name; return source_name;
}); });
owner_.Get()->GetAbility()->SetSource(attr_handle, cb); owner_.Get()->GetAbility()->SetSource(attr_handle, cb);
}
#endif #endif
}
} }
} }
} }

View File

@ -2200,11 +2200,7 @@ void Human::PushJoinRoomMsg()
notifymsg.set_error_code(0); notifymsg.set_error_code(0);
notifymsg.set_server_info(JsonDataMgr::Instance()->server_info); notifymsg.set_server_info(JsonDataMgr::Instance()->server_info);
room->FillSMJoinedNotify(this, notifymsg); room->FillSMJoinedNotify(this, notifymsg);
#ifdef MYDEBUG notifymsg.set_pre_client_shot(mt::Param::s().pre_client_shot);
//notifymsg.set_pre_client_shot(mt::Param::s().pre_client_shot);
#else
//notifymsg.set_pre_client_shot(mt::Param::s().pre_client_shot);
#endif
GGListener::Instance()->SendToClient(socket_handle, 0, notifymsg); GGListener::Instance()->SendToClient(socket_handle, 0, notifymsg);
} }
{ {