1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-19 04:18:06 +00:00

parser: s and ms are always accepted

This commit is contained in:
Zeno Rogue
2018-11-07 07:21:57 +01:00
parent 9cff432cee
commit 0a198a2ab5
2 changed files with 3 additions and 3 deletions

View File

@@ -295,8 +295,6 @@ hyperpoint find_point(ld t) {
exp_parser ep;
auto &dict = ep.extra_params;
dict["t"] = t;
dict["s"] = ticks / 1000.;
dict["ms"] = ticks;
dict["phi"] = t * 2 * M_PI;
dict["x"] = tan(t * M_PI - M_PI/2);
for(auto& ff: formula) {