1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-23 18:07:41 +00:00

nilrider:: goal checking and goal solving and goals for all levels

This commit is contained in:
Zeno Rogue
2022-05-03 22:08:17 +02:00
parent b3e29d9e03
commit 117e2cb6f4
5 changed files with 134 additions and 23 deletions

View File

@@ -121,7 +121,7 @@ bool timestamp::tick(level *lev) {
vel -= sin(slope) * gravity / tps;
if(vel < 0) {
vel = 0;
return false;
if(ovel == 0) return false;
}
auto mvel = (vel + ovel) / 2;