1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-03-19 19:39:43 +00:00

crystal::rug:: correct centering

This commit is contained in:
Zeno Rogue
2018-12-04 18:10:36 +01:00
parent 22c6f02cc9
commit aa1b102b78
3 changed files with 24 additions and 0 deletions

View File

@@ -956,6 +956,10 @@ void spinEdge(ld aspd) {
}
void centerpc(ld aspd) {
if(geometry == gCrystal)
crystal::centerrug(aspd);
if(ors::mode == 2 && vid.sspeed < 5) return;
if(vid.sspeed >= 4.99) aspd = 1000;
DEBB(DF_GRAPH, (debugfile,"center pc\n"));