Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
PieterVdc committed Aug 4, 2024
1 parent ef46be7 commit eeaef65
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ariadne.h
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ TbBool edge_lock_f(long ptend_x, long ptend_y, long ptstart_x, long ptstart_y, c
TbBool edge_unlock_record_and_regions_f(long ptend_x, long ptend_y, long ptstart_x, long ptstart_y, const char *func_name);
void border_internal_points_delete(long a1, long a2, long a3, long a4);
TbBool tri_set_rectangle(long start_x, long start_y, long end_x, long end_y, NavColour nav_colour);
long fringe_get_rectangle(long *outfri_x1, long *outfri_y1, long *outfri_x2, long *outfri_y2, unsigned short *oval);
long fringe_get_rectangle(long *outfri_x1, long *outfri_y1, long *outfri_x2, long *outfri_y2, NavColour *oval);
long delaunay_seeded(long a1, long a2, long a3, long a4);
void border_unlock(long a1, long a2, long a3, long a4);
TbBool triangulation_border_start(long *a1, long *a2);
Expand Down
2 changes: 1 addition & 1 deletion src/ariadne_tringls.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ struct Triangle {
unsigned short field_E;
};

#define NAV_COL_UNSET USHRT_MAX
#define NAV_COL_UNSET ULONG_MAX

/******************************************************************************/
extern struct Triangle Triangles[TRIANLGLES_COUNT];
Expand Down
2 changes: 1 addition & 1 deletion src/map_data.c
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ void clear_mapmap(void)
for (unsigned long x = 0; x < (gameadd.map_subtiles_x + 1); x++)
{
struct Map* mapblk = get_map_block_at(x, y);
unsigned short* flg = &game.navigation_map[get_subtile_number(x, y)];
NavColour* flg = &game.navigation_map[get_subtile_number(x, y)];
LbMemorySet(mapblk, 0, sizeof(struct Map));
*flg = 0;
}
Expand Down

0 comments on commit eeaef65

Please sign in to comment.