mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
checkmove (called by initGame and on safety) no longer crashes the shmup mode
This commit is contained in:
parent
b95672fb26
commit
aead4b64f9
1
game.cpp
1
game.cpp
@ -6723,6 +6723,7 @@ EX bool hasSafeOrb(cell *c) {
|
|||||||
EX void checkmove() {
|
EX void checkmove() {
|
||||||
|
|
||||||
if(dual::state == 2) return;
|
if(dual::state == 2) return;
|
||||||
|
if(shmup::on) return;
|
||||||
|
|
||||||
dynamicval<eGravity> gs(gravity_state, gravity_state);
|
dynamicval<eGravity> gs(gravity_state, gravity_state);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user