1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-04-29 20:11:23 +00:00

fixed some memory bugs

This commit is contained in:
Zeno Rogue
2019-03-09 01:18:47 +01:00
parent 497f7f6c0f
commit ebbaa3fcc3
4 changed files with 4 additions and 2 deletions

View File

@@ -572,6 +572,7 @@ namespace euclid3 {
h->c7 = newCell(S7, h);
h->distance = 0;
h->cdata = NULL;
h->alt = NULL;
auto co = getcoord(at);
if(S7 != 14)
h->zebraval = gmod(co[0] + co[1] * 2 + co[2] * 4, 5);