mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-28 06:39:55 +00:00
fixed flash markers
This commit is contained in:
parent
13e47256ec
commit
66c166a81c
@ -5151,12 +5151,13 @@ void drawMarkers() {
|
|||||||
void drawFlashes() {
|
void drawFlashes() {
|
||||||
for(int k=0; k<size(flashes); k++) {
|
for(int k=0; k<size(flashes); k++) {
|
||||||
flashdata& f = flashes[k];
|
flashdata& f = flashes[k];
|
||||||
transmatrix V;
|
transmatrix V = shmup::ggmatrix(f.where);
|
||||||
|
/*
|
||||||
try { V = gmatrix.at(f.where); } catch(out_of_range) {
|
try { V = gmatrix.at(f.where); } catch(out_of_range) {
|
||||||
f = flashes[size(flashes)-1];
|
f = flashes[size(flashes)-1];
|
||||||
flashes.pop_back(); k--;
|
flashes.pop_back(); k--;
|
||||||
continue;
|
continue;
|
||||||
}
|
} */
|
||||||
int tim = ticks - f.t;
|
int tim = ticks - f.t;
|
||||||
|
|
||||||
bool kill = tim > f.size;
|
bool kill = tim > f.size;
|
||||||
|
Loading…
Reference in New Issue
Block a user