修復下机甲卡墙问题
This commit is contained in:
parent
50d6fa1204
commit
cacbbab1d0
@ -119,6 +119,10 @@ void Car::GetDown(Human* passenger)
|
||||
passenger->CancelAction();
|
||||
passenger->RemoveBuffByEffectId(kBET_Driver);
|
||||
passenger->RemoveBuffByEffectId(kBET_Passenger);
|
||||
#if 1
|
||||
passenger->SetPos(passenger->GetPos() -
|
||||
a8::Vec2(hero_meta_->i->move_offset_x(), hero_meta_->i->move_offset_y()));
|
||||
#endif
|
||||
room->frame_event.AddCarChg(passenger->GetWeakPtrRef());
|
||||
if (passengers_.empty()) {
|
||||
team_id = 0;
|
||||
|
@ -159,7 +159,7 @@ void MatchMgr::RemoveSocket(int socket_handle)
|
||||
|
||||
void MatchMgr::Output()
|
||||
{
|
||||
#ifdef DEBUG
|
||||
#ifdef DEBUG1
|
||||
a8::XPrintf(">>>>>>>>>>>>>>>>>>>>>>>>>>\n", {});
|
||||
for (auto& pair : team_hash_) {
|
||||
a8::XPrintf("team:%s \n", {pair.first});
|
||||
|
Loading…
x
Reference in New Issue
Block a user