mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 21:07:17 +00:00
nilrider:: fixed a bug in pfloor
This commit is contained in:
parent
13e6fa057c
commit
4ab376caa7
@ -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 };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user