1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-02-02 12:19:18 +00:00

rogueviz:: fixed init

This commit is contained in:
Zeno Rogue 2020-03-29 15:24:37 +02:00
parent 427df5e8fe
commit 8a5c4b0887

View File

@ -952,11 +952,6 @@ void readcolor(const string& cfname) {
}
void init(void *_vizid, flagtype _vizflags) {
bool was_on = vizid;
vizid = _vizid;
vizflags = _vizflags;
if(was_on) return;
autocheat = true;
showstartmenu = false;
@ -978,7 +973,9 @@ void init(void *_vizid, flagtype _vizflags) {
calcparam();
drawthemap();
gmatrix0 = gmatrix;
addMessage("RogueViz enabled");
vizid = _vizid;
vizflags = _vizflags;
}
int search_for = -1;