1
This commit is contained in:
parent
e7fa43a655
commit
b9df7db87c
@ -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
|
||||||
}
|
}
|
||||||
|
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user