mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-04-29 06:03:11 +00:00
Merge pull request #278 from jruderman/detrap_particles
Animate destruction of arrow traps
This commit is contained in:
commit
f5264e49c7
@ -866,6 +866,7 @@ EX void destroyTrapsOn(cell *c) {
|
|||||||
if(c->wall == waArrowTrap) {
|
if(c->wall == waArrowTrap) {
|
||||||
changes.ccell(c);
|
changes.ccell(c);
|
||||||
c->wall = waNone;
|
c->wall = waNone;
|
||||||
|
drawParticles(c, 0xFF0000, 4);
|
||||||
destroyTrapsAround(c);
|
destroyTrapsAround(c);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user