diff --git a/quests.c b/quests.c index ffbf0b4..98ee192 100644 --- a/quests.c +++ b/quests.c @@ -63,11 +63,6 @@ int validate_quest_bin(const QUEST_BIN_HEADER *header, uint32_t length, bool pri printf("Quest bin file issue: blank quest name\n"); result |= QUESTBIN_ERROR_NAME; } - if (header->quest_number_word == 0) { - if (print_errors) - printf("Quest bin file issue: quest_number is zero\n"); - result |= QUESTBIN_ERROR_NAME; - } if (header->episode > 1) { if (print_errors) printf("Quest bin file issue: unexpected episode value %d, quest was probably created using a 16-bit quest_number\n", header->episode); diff --git a/quests.h b/quests.h index 311202e..db41f1b 100644 --- a/quests.h +++ b/quests.h @@ -11,8 +11,7 @@ #define QUESTBIN_ERROR_LARGER_BIN_SIZE 2 #define QUESTBIN_ERROR_SMALLER_BIN_SIZE 4 #define QUESTBIN_ERROR_NAME 8 -#define QUESTBIN_ERROR_NUMBER 16 -#define QUESTBIN_ERROR_EPISODE 32 +#define QUESTBIN_ERROR_EPISODE 16 #define QUESTDAT_ERROR_TYPE 1 #define QUESTDAT_ERROR_TABLE_BODY_SIZE 2