Skip to content

Commit

Permalink
Fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Dasperal committed Jun 12, 2024
1 parent 54c29ea commit c913616
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/p_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
// set up initial state and misc. LUTs.
//

#include <limits.h>
#include <stdint.h>
#include <stdlib.h>
#include <math.h>
Expand Down Expand Up @@ -544,7 +545,10 @@ void P_LoadSideDefs (int lump)
static void P_CreateBlockMap(void)
{
int i;
fixed_t minx = INT_MAX, miny = INT_MAX, maxx = INT_MIN, maxy = INT_MIN;
fixed_t minx = INT_MAX;
fixed_t miny = INT_MAX;
fixed_t maxx = INT_MIN;
fixed_t maxy = INT_MIN;

// First find limits of map

Expand Down

0 comments on commit c913616

Please sign in to comment.