1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-25 22:53:19 +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;
setCanvas(mode, '0');
if(mode == pmStart) {
slide_backup(mapeditor::drawplayer);
t();
slide_backup(rogueviz::vertex_shape, 3);
N = _N; start_game(); init();

View File

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