1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-04 04:43:57 +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) { void mark(cell *c) {
using namespace kohonen; using namespace kohonen;
distfrom = getNeuronSlow(c); if(kind == kKohonen && inited >= 1) {
coloring(); distfrom = getNeuronSlow(c);
coloring();
}
} }