mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-04-03 17:27:03 +00:00
fixed buggy snowballs
This commit is contained in:
parent
e9aadc35ee
commit
e74a2162fd
@ -52,6 +52,7 @@ blizzardcell* getbcell(cell *c) {
|
||||
}
|
||||
|
||||
void drawBlizzards() {
|
||||
poly_outline = OUTLINE_NONE;
|
||||
auto it = blizzardcells.begin();
|
||||
bcells.clear();
|
||||
while(it != blizzardcells.end())
|
||||
@ -103,10 +104,13 @@ void drawBlizzards() {
|
||||
|
||||
for(int i=0; i<N; i++) {
|
||||
auto& bc = *bcells[i];
|
||||
cell *c = bc.c;
|
||||
|
||||
for(auto sb: bc.inorder)
|
||||
sb->global = (*bc.gm) * sb->T;
|
||||
}
|
||||
|
||||
for(int i=0; i<N; i++) {
|
||||
auto& bc = *bcells[i];
|
||||
cell *c = bc.c;
|
||||
|
||||
bc.outid = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user