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);
|
skill->Accelerate(-10000000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#ifdef DEBUG
|
||||||
|
a8::XPrintf("exec_cmd:%s\n", {cmd});
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
@ -392,16 +392,16 @@ void RoomObstacle::DetachFromMaster()
|
|||||||
{
|
{
|
||||||
if (!detached_) {
|
if (!detached_) {
|
||||||
detached_ = true;
|
detached_ = true;
|
||||||
|
xtimer_attacher.ClearTimerList();
|
||||||
if (master.Get()) {
|
if (master.Get()) {
|
||||||
xtimer_attacher.ClearTimerList();
|
|
||||||
master.Get()->SlaveOnRemove(this);
|
master.Get()->SlaveOnRemove(this);
|
||||||
room->grid_service->DelRoomEntity(room, this);
|
|
||||||
if (!IsDead(room)) {
|
|
||||||
Die(room);
|
|
||||||
BroadcastFullState(room);
|
|
||||||
}
|
|
||||||
room->RemoveObjectLater(this);
|
|
||||||
}
|
}
|
||||||
|
room->grid_service->DelRoomEntity(room, this);
|
||||||
|
if (!IsDead(room)) {
|
||||||
|
Die(room);
|
||||||
|
BroadcastFullState(room);
|
||||||
|
}
|
||||||
|
room->RemoveObjectLater(this);
|
||||||
}
|
}
|
||||||
if (!list_empty(&entry)) {
|
if (!list_empty(&entry)) {
|
||||||
list_del_init(&entry);
|
list_del_init(&entry);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user