1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-25 22:53:19 +00:00

fixes in Kohonen and Rogueviz

This commit is contained in:
Zeno Rogue 2018-05-18 13:57:55 +02:00
parent 728e57547a
commit a97dc473bf
2 changed files with 2 additions and 1 deletions

View File

@ -797,7 +797,7 @@ void kload(const string& fname) {
}
if(fscanf(f, "%d%d\n", &xcells, &t) != 2) return;
if(xcells != cells) {
fprintf(stderr, "Error: bad number of cells\n");
fprintf(stderr, "Error: bad number of cells (x=%d c=%d)\n", xcells, cells);
exit(1);
}
for(neuron& n: net) {

View File

@ -1352,6 +1352,7 @@ void init() {
timerghost = false;
gmatrix.clear();
calcparam();
drawthemap();
gmatrix0 = gmatrix;
addMessage("RogueViz enabled");