mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-18 15:00:26 +00:00
throw exception on rspin in 3D
This commit is contained in:
parent
d00b08c4f3
commit
562f43dc1f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user