This commit is contained in:
aozhiwei 2024-04-02 10:30:09 +08:00
parent e7fa43a655
commit b9df7db87c
2 changed files with 4 additions and 1 deletions

View File

@ -639,7 +639,9 @@ void FrameMaker::SerializeVoices(cs::SMUpdate* msg, Room* room, Human* hum, Fram
{ {
v->voice_id v->voice_id
})); }));
#if 0
a8::XPrintf("InGameVoice %d:%s\n", {room->GetRoomIdx(), f8::PbToJson(msg)}); a8::XPrintf("InGameVoice %d:%s\n", {room->GetRoomIdx(), f8::PbToJson(msg)});
#endif
} }
#endif #endif
} }

View File

@ -3792,7 +3792,8 @@ void Room::MobaBatterysUpdate()
glm::vec3 bullet_dir = target.Get()->GetPos().ToGlmVec3() - center; glm::vec3 bullet_dir = target.Get()->GetPos().ToGlmVec3() - center;
GlmHelper::Normalize(bullet_dir); GlmHelper::Normalize(bullet_dir);
const mt::Equip* weapon_meta = mt::Equip::GetById(std::get<2>(tuple)); //const mt::Equip* weapon_meta = mt::Equip::GetById(std::get<2>(tuple));
const mt::Equip* weapon_meta = mt::Equip::GetById(21111);
if (!weapon_meta) { if (!weapon_meta) {
#ifdef MYDEBUG #ifdef MYDEBUG
abort(); abort();