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:
parent
13e47256ec
commit
66c166a81c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user