1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-27 03:47:40 +00:00

some arrays had number bounds while it should have been MAX_EDGE

This commit is contained in:
Zeno Rogue
2018-08-18 17:37:12 +02:00
parent a92cc33426
commit 1a6427ba32
3 changed files with 7 additions and 7 deletions

View File

@@ -58,7 +58,7 @@ namespace hr { namespace netgen {
char patek[MAXCELLS][MAX_EDGE];
// data generated by HyperRogue
hyperpoint hcenter[MAXCELLS][9];
hyperpoint hcenter[MAXCELLS][MAX_EDGE+1];
// Functions handling the data.
//==============================