1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-24 13:27:17 +00:00

fixed flash markers

This commit is contained in:
Zeno Rogue 2018-04-14 09:25:28 +02:00
parent 13e47256ec
commit 66c166a81c

View File

@ -5151,12 +5151,13 @@ void drawMarkers() {
void drawFlashes() {
for(int k=0; k<size(flashes); k++) {
flashdata& f = flashes[k];
transmatrix V;
transmatrix V = shmup::ggmatrix(f.where);
/*
try { V = gmatrix.at(f.where); } catch(out_of_range) {
f = flashes[size(flashes)-1];
flashes.pop_back(); k--;
continue;
}
} */
int tim = ticks - f.t;
bool kill = tim > f.size;