1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-12 19:53:00 +00:00

added CAP_RAY guard to intra stuff

This commit is contained in:
Zeno Rogue
2022-05-09 14:53:41 +02:00
parent 3c491fb7ac
commit b0c34c4f2c
5 changed files with 15 additions and 11 deletions

View File

@@ -1295,7 +1295,7 @@ EX vector<cell*> build_shortest_path(cell *c1, cell *c2) {
}
EX void clearCellMemory() {
#if MAXMDIM >= 4
#if MAXMDIM >= 4 && CAP_RAY
if(intra::in) {
intra::erase_all_maps();
return;