1
This commit is contained in:
parent
a05cebb887
commit
b9e29a3dc9
@ -715,18 +715,20 @@ void RoomObstacle::InstallPreExplostionSummonTimer()
|
|||||||
[] (const a8::XParams& param)
|
[] (const a8::XParams& param)
|
||||||
{
|
{
|
||||||
RoomObstacle* obstacle = (RoomObstacle*)param.sender.GetUserData();
|
RoomObstacle* obstacle = (RoomObstacle*)param.sender.GetUserData();
|
||||||
obstacle->room->CreateObstacle
|
RoomObstacle* p = obstacle->room->CreateObstacle
|
||||||
(
|
(
|
||||||
param.param1,
|
param.param1,
|
||||||
obstacle->GetPos().x + param.param2.GetDouble(),
|
obstacle->GetPos().x + param.param2.GetDouble(),
|
||||||
obstacle->GetPos().y + param.param3.GetDouble()
|
obstacle->GetPos().y + param.param3.GetDouble()
|
||||||
);
|
);
|
||||||
obstacle->Active();
|
if (p) {
|
||||||
|
p->Active();
|
||||||
|
}
|
||||||
},
|
},
|
||||||
&xtimer_attacher.timer_list_
|
&xtimer_attacher.timer_list_
|
||||||
);
|
);
|
||||||
}//end for tuple
|
}//end for tuple
|
||||||
|
base_time += meta->i->explosion_interval();
|
||||||
}
|
}
|
||||||
base_time += meta->i->explosion_interval();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user