mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-04 12:58:10 +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_float = pair<ld, ld>;
|
||||||
using xy_int = pair<int, int>;
|
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 };
|
enum eGoalResult { grNone, grSuccess, grFailed };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user