1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-10 15:59:53 +00:00

fixed array[7] in blizzard.cpp

This commit is contained in:
Zeno Rogue 2017-10-30 23:57:16 +01:00
parent fd57528b72
commit f400ed0537

View File

@ -35,7 +35,7 @@ struct blizzardcell {
transmatrix *gm; transmatrix *gm;
char wmap; char wmap;
int inward, outward, ward; int inward, outward, ward;
int qty[7]; int qty[MAX_EDGE];
vector<snowball*> inorder, outorder; vector<snowball*> inorder, outorder;
int inid, outid; int inid, outid;
~blizzardcell() { for(auto i: inorder) delete i; } ~blizzardcell() { for(auto i: inorder) delete i; }