Created
May 29, 2018 20:43
-
-
Save JDeuce/1008550c4528e817be8360ed45430b13 to your computer and use it in GitHub Desktop.
diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/combined_html.c b/combined_html.c | |
index 4099206..ed8c089 100644 | |
--- a/combined_html.c | |
+++ b/combined_html.c | |
@@ -992,7 +992,7 @@ unsigned char Language; | |
#define MAX_DISTRICTS 100 | |
#define MIN_FERRY_SEGMENT 1000 | |
#define MAX_FERRY_SEGMENT MIN_FERRY_SEGMENT + MAX_FERRYCROSSINGS | |
-#define MAX_ENTRIES MAX_HIGHWAYS + MAX_FERRYCROSSINGS + MAX_ACCESS_ROADS + 1 /* per region */ | |
+#define MAX_ENTRIES 65535 | |
#define ACCESS_ROADS_START MAX_FERRY_SEGMENT | |
#define MAX_CONDIT_STRINGS 30 | |
#define MAX_FERRY_CONDIT_STRINGS 16 | |
@@ -2129,7 +2129,7 @@ void get_ordered_conditions(int input[256], int output[256], int *output_idx) | |
//* Start: Segment Types Processing * | |
//*********************************** | |
#define SEGMENT_TYPES_FILE "segment_types.seg" | |
-#define SEGMENT_TYPES_MAX_AMOUNT 4096 | |
+#define SEGMENT_TYPES_MAX_AMOUNT MAX_SEGMENTS | |
typedef enum | |
{ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment