1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +00:00

fixed player disappearing in rogueviz presentations

This commit is contained in:
Zeno Rogue 2021-04-07 20:58:31 +02:00
parent 963c90dfbb
commit c5a40f9f68
2 changed files with 7 additions and 0 deletions

View File

@ -528,6 +528,7 @@ namespace flocking {
using namespace tour; using namespace tour;
setCanvas(mode, '0'); setCanvas(mode, '0');
if(mode == pmStart) { if(mode == pmStart) {
slide_backup(mapeditor::drawplayer);
t(); t();
slide_backup(rogueviz::vertex_shape, 3); slide_backup(rogueviz::vertex_shape, 3);
N = _N; start_game(); init(); N = _N; start_game(); init();

View File

@ -890,6 +890,12 @@ void init(flagtype _vizflags) {
autocheat = true; autocheat = true;
showstartmenu = false; showstartmenu = false;
if(tour::on) {
tour::slide_backup(mapeditor::drawplayer);
tour::slide_backup(timerghost);
}
#if !ISWEB #if !ISWEB
mapeditor::drawplayer = false; mapeditor::drawplayer = false;
stop_game(); stop_game();