1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-17 18:54:48 +00:00

throw exception on rspin in 3D

This commit is contained in:
Zeno Rogue 2019-04-13 13:08:08 +02:00
parent d00b08c4f3
commit 562f43dc1f

View File

@ -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);