mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-02 12:19:18 +00:00
elec: charged walls are destroyed if they are adjacent to grounded walls
This commit is contained in:
parent
97d47c06fe
commit
10f63743ab
@ -359,6 +359,10 @@ EX namespace elec {
|
||||
if(c->wall == waDeadTroll2 || isAlchAny(c) || c->wall == waVinePlant)
|
||||
drawParticles(c, winf[c->wall].color, 16),
|
||||
c->wall = waNone;
|
||||
|
||||
/* destroy charged walls on the border */
|
||||
if(c->wall == waCharged) forCellEx(c1, c) if(c1->wall == waGrounded)
|
||||
c->wall = waNone;
|
||||
/* if(c->wall == waCharged)
|
||||
c->wall = waMetal; */
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user