fixed flash markers

This commit is contained in:
Zeno Rogue 2018-04-14 09:25:28 +02:00
parent 13e47256ec
commit 66c166a81c
1 changed files with 3 additions and 2 deletions

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;