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:
parent
963c90dfbb
commit
c5a40f9f68
@ -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();
|
||||||
|
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user