mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-06 04:17:58 +00:00
throw exception on rspin in 3D
This commit is contained in:
@@ -362,6 +362,10 @@ namespace mapstream {
|
||||
|
||||
// spinval becomes xspinval
|
||||
rspin = (c2->c.spin(dir) - f.read_char() + MODFIXER) % c->type;
|
||||
if(DIM == 3 && rspin) {
|
||||
println(hlog, "rspin in 3D");
|
||||
throw hstream_exception();
|
||||
}
|
||||
}
|
||||
|
||||
cellbyid.push_back(c);
|
||||
|
Reference in New Issue
Block a user