mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-02 15:03:00 +00:00
fixed potential memory error in sightranges
This commit is contained in:
@@ -131,7 +131,8 @@ EX int bounded_mine_quantity, bounded_mine_max;
|
||||
|
||||
EX const char *conffile = "hyperrogue.ini";
|
||||
|
||||
EX array<ld, gGUARD> sightranges;
|
||||
/* extra space if more geometries are added */
|
||||
EX array<ld, gGUARD+64> sightranges;
|
||||
|
||||
EX videopar vid;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user