mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-04 14:30:35 +00:00
intra:: become() now adds more spaces if called inside intra
This commit is contained in:
parent
11aa9d0ddd
commit
af18ee7ae1
@ -364,6 +364,13 @@ EX void connect_portal(cellwalker cw1, cellwalker cw2, int spin) {
|
|||||||
|
|
||||||
/** make currentmap into one of the spaces in intra */
|
/** make currentmap into one of the spaces in intra */
|
||||||
EX void become() {
|
EX void become() {
|
||||||
|
if(intra::in) {
|
||||||
|
/* let them add more spaces in this case */
|
||||||
|
data[current].gd.storegame();
|
||||||
|
intra::in = false;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
check_cgi();
|
check_cgi();
|
||||||
cgi.require_shapes();
|
cgi.require_shapes();
|
||||||
auto& ac = currentmap->allcells();
|
auto& ac = currentmap->allcells();
|
||||||
|
Loading…
Reference in New Issue
Block a user