1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-01-23 23:47:00 +00:00

fixed freeze when enabling cspin/cmirror without enabling csteps

This commit is contained in:
Zeno Rogue 2019-11-30 19:32:43 +01:00
parent 6e7cf99d07
commit 56e9f95656

View File

@ -1303,7 +1303,7 @@ EX namespace product {
hrmap_product() {
current_spin_invalid = false;
if(cspin || cmirror) {
if((cspin || cmirror) && csteps) {
in_underlying([&] {
twisted = validate_spin();
if(!twisted) { current_spin_invalid = true; return; }