1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-01-11 09:50:34 +00:00

fixed flashes disappearing

This commit is contained in:
Zeno Rogue 2020-04-06 09:48:34 +02:00
parent a7347bdd20
commit 43fd94bed6

View File

@ -4268,6 +4268,9 @@ void drawFlashes() {
draw_flash(f, V * currentmap->iadj(f.where, id), kill);
copies = true;
}
if(f.t > ticks - 800 && !copies) {
kill = false;
}
if(kill) {
f = flashes[isize(flashes)-1];
flashes.pop_back(); k--;