added CAP_RAY guard to intra stuff

This commit is contained in:
Zeno Rogue
2022-05-09 15:09:23 +02:00
parent 3c491fb7ac
commit b0c34c4f2c
5 changed files with 15 additions and 11 deletions
+1 -1
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;