1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-24 22:23:18 +00:00

RogueViz no longer causes 'm' to crash

This commit is contained in:
Zeno Rogue 2018-05-20 15:18:20 +02:00
parent 88c69bb97a
commit 1d3ee8f0a1

View File

@ -1133,7 +1133,9 @@ auto hooks2 = addHook(hooks_frame, 50, levelline::draw);
void mark(cell *c) {
using namespace kohonen;
distfrom = getNeuronSlow(c);
coloring();
if(kind == kKohonen && inited >= 1) {
distfrom = getNeuronSlow(c);
coloring();
}
}