Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed new pathfinding bug #2304

Merged
merged 14 commits into from Apr 9, 2023
20 changes: 10 additions & 10 deletions src/globals.h
Expand Up @@ -297,42 +297,42 @@ typedef unsigned char NaviRouteFlags;

struct Coord2d {
union {
unsigned long val;
unsigned short val;
struct {
unsigned char pos;
unsigned short num;
unsigned char num;
} stl;
} x;
union {
unsigned long val;
unsigned short val;
struct {
unsigned char pos;
unsigned short num;
unsigned char num;
} stl;
} y;
};


struct Coord3d {
union {
long val;
unsigned short val;
struct {
unsigned char pos;
unsigned short num;
unsigned char num;
} stl;
} x;
union {
long val;
unsigned short val;
struct {
unsigned char pos;
unsigned short num;
unsigned char num;
} stl;
} y;
union {
long val;
unsigned short val;
struct {
unsigned char pos;
unsigned short num;
unsigned char num;
} stl;
} z;
};
Expand Down