mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 01:20:37 +00:00
no more crashes in some animations
This commit is contained in:
parent
dde8b900d7
commit
29cf07920c
@ -496,7 +496,7 @@ ld circle_radius = acosh(2.), circle_spins = 1;
|
|||||||
void moved() {
|
void moved() {
|
||||||
optimizeview();
|
optimizeview();
|
||||||
if(cheater || autocheat) {
|
if(cheater || autocheat) {
|
||||||
if(hyperbolic && memory_saving_mode && cwt.at != centerover.at && !quotient) {
|
if(hyperbolic && memory_saving_mode && centerover.at && gmatrix.size() && cwt.at != centerover.at && !quotient) {
|
||||||
if(isNeighbor(cwt.at, centerover.at)) {
|
if(isNeighbor(cwt.at, centerover.at)) {
|
||||||
cwt.spin = neighborId(centerover.at, cwt.at);
|
cwt.spin = neighborId(centerover.at, cwt.at);
|
||||||
flipplayer = true;
|
flipplayer = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user