1
This commit is contained in:
parent
0720e7e8d1
commit
f5b8fc8071
@ -293,4 +293,7 @@ void Player::_CMExecCommand(f8::MsgHdr& hdr, const cs::CMExecCommand& msg)
|
||||
skill->Accelerate(-10000000);
|
||||
}
|
||||
}
|
||||
#ifdef DEBUG
|
||||
a8::XPrintf("exec_cmd:%s\n", {cmd});
|
||||
#endif
|
||||
}
|
||||
|
@ -392,9 +392,10 @@ void RoomObstacle::DetachFromMaster()
|
||||
{
|
||||
if (!detached_) {
|
||||
detached_ = true;
|
||||
if (master.Get()) {
|
||||
xtimer_attacher.ClearTimerList();
|
||||
if (master.Get()) {
|
||||
master.Get()->SlaveOnRemove(this);
|
||||
}
|
||||
room->grid_service->DelRoomEntity(room, this);
|
||||
if (!IsDead(room)) {
|
||||
Die(room);
|
||||
@ -402,7 +403,6 @@ void RoomObstacle::DetachFromMaster()
|
||||
}
|
||||
room->RemoveObjectLater(this);
|
||||
}
|
||||
}
|
||||
if (!list_empty(&entry)) {
|
||||
list_del_init(&entry);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user