1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 14:37:16 +00:00

fixed crash in zebra40

This commit is contained in:
Zeno Rogue 2021-07-09 00:13:25 +02:00
parent f3adce29b3
commit 09850d2f76

View File

@ -371,6 +371,7 @@ EX int zebra40(cell *c) {
else if(S3 == 4 && S7 == 6) { else if(S3 == 4 && S7 == 6) {
return 8 + ((c->master->zebraval / 10 + c->c.spin(0))%2) * 2; return 8 + ((c->master->zebraval / 10 + c->c.spin(0))%2) * 2;
} }
else if(reg3::in()) return 0;
else { else {
int ii[3], z; int ii[3], z;
auto ar = gp::get_masters(c); auto ar = gp::get_masters(c);