1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-17 15:17:37 +00:00

expansion, ctrl+E cheat, fix with distance calculation

This commit is contained in:
Zeno Rogue
2017-04-04 11:13:15 +02:00
parent 0d7d2cf825
commit 645a64e8c9
15 changed files with 684 additions and 442 deletions

View File

@@ -155,7 +155,7 @@ namespace mapstream {
int rspin;
if(size(cellbyid) == 0) {
c = origin.c7;
c = currentmap->gamestart();
rspin = 0;
}
else {
@@ -202,7 +202,7 @@ namespace mapstream {
int32_t whereami = loadInt();
if(whereami >= 0 && whereami < size(cellbyid))
cwt.c = cellbyid[whereami];
else cwt.c = origin.c7;
else cwt.c = currentmap->gamestart();
for(int i=0; i<size(cellbyid); i++) {
cell *c = cellbyid[i];