mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-31 01:37:57 +00:00
MXDIM, and some extra comments
This commit is contained in:
2
rug.cpp
2
rug.cpp
@@ -631,7 +631,7 @@ bool force(rugpoint& m1, rugpoint& m2, double rd, bool is_anticusp=false, double
|
||||
|
||||
transmatrix iT = rgpushxto0(m1.native);
|
||||
|
||||
for(int i=0; i<MDIM; i++) if(std::isnan(m1.native[i])) {
|
||||
for(int i=0; i<MXDIM; i++) if(std::isnan(m1.native[i])) {
|
||||
addMessage("Failed!");
|
||||
println(hlog, "m1 = ", m1.native);
|
||||
throw rug_exception();
|
||||
|
Reference in New Issue
Block a user