1
This commit is contained in:
parent
b374513c95
commit
8d756041f1
@ -909,13 +909,21 @@ void RoomObstacle::RemoveSameSkillObstacle()
|
|||||||
|
|
||||||
void RoomObstacle::ActiveFlameSurface()
|
void RoomObstacle::ActiveFlameSurface()
|
||||||
{
|
{
|
||||||
|
ForceGridList();
|
||||||
|
auto cb =
|
||||||
|
[this] ()
|
||||||
|
{
|
||||||
|
|
||||||
|
};
|
||||||
room->xtimer.SetIntervalEx
|
room->xtimer.SetIntervalEx
|
||||||
(
|
(
|
||||||
1000 / FRAME_RATE_MS,
|
1000 / FRAME_RATE_MS,
|
||||||
[this] (int event, const a8::Args* args)
|
[this, cb] (int event, const a8::Args* args)
|
||||||
{
|
{
|
||||||
if (a8::TIMER_EXEC_EVENT == event) {
|
if (a8::TIMER_EXEC_EVENT == event) {
|
||||||
|
cb();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
&xtimer_attacher);
|
&xtimer_attacher);
|
||||||
|
cb();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user