1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-04-21 10:13:14 +00:00

rogueviz::fundamental:: starter is fixed now

This commit is contained in:
Zeno Rogue 2025-02-23 20:03:34 +01:00
parent 7f48468b3c
commit 81505b2ce7

View File

@ -9,6 +9,7 @@ namespace fundamental {
color_t color1, color2;
cell *starter;
map<cell*, int> same;
map<cell*, shiftmatrix> gm;
@ -63,11 +64,11 @@ void fundamental_marker() {
same.clear();
gm.clear();
same[cwt.at] = 0;
gm[cwt.at] = ggmatrix(cwt.at);
same[starter] = 0;
gm[starter] = ggmatrix(starter);
vector<cell*> cells;
cells.push_back(cwt.at);
cells.push_back(starter);
int tree_edges = 0;
int face_edges = 0;
@ -231,6 +232,7 @@ int readArgs() {
if(0) ;
else if(argis("-fundamental")) {
start_game(); starter = cwt.at;
shift(); funmode = argi();
shift(); color1 = arghex();
shift(); color2 = arghex();