1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 14:37:16 +00:00

nilrider:: fixed a bug in pfloor

This commit is contained in:
Zeno Rogue 2022-05-06 14:16:50 +02:00
parent 13e6fa057c
commit 4ab376caa7

View File

@ -62,7 +62,7 @@ struct plan_replay {
using xy_float = pair<ld, ld>;
using xy_int = pair<int, int>;
inline xy_int pfloor(xy_int p) { return {floor(p.first), floor(p.second)}; }
inline xy_int pfloor(xy_float p) { return {floor(p.first), floor(p.second)}; }
enum eGoalResult { grNone, grSuccess, grFailed };