mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-22 23:17:04 +00:00
shmup:: fixed Gadflies appearing forever
This commit is contained in:
parent
b4302ac6b4
commit
266d6fd50d
@ -24,6 +24,7 @@ grow_vector<vector<cell*>> movesofgood;
|
|||||||
EX vector<pair<cell*, int> > butterflies;
|
EX vector<pair<cell*, int> > butterflies;
|
||||||
|
|
||||||
EX void addButterfly(cell *c) {
|
EX void addButterfly(cell *c) {
|
||||||
|
if(shmup::on) return;
|
||||||
for(int i=0; i<isize(butterflies); i++)
|
for(int i=0; i<isize(butterflies); i++)
|
||||||
if(butterflies[i].first == c) {
|
if(butterflies[i].first == c) {
|
||||||
butterflies[i].second = 0;
|
butterflies[i].second = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user