From e4174d4f2d7a1269d53f412ae177524a52b0e7d5 Mon Sep 17 00:00:00 2001 From: nukeykt Date: Sun, 14 Jul 2019 02:07:34 +0900 Subject: [PATCH] Extend xobject reference field size to fit 16384 sprites/walls --- source/blood/src/db.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/blood/src/db.h b/source/blood/src/db.h index 4f8cda8d1..2719b52ce 100644 --- a/source/blood/src/db.h +++ b/source/blood/src/db.h @@ -37,7 +37,7 @@ struct XSPRITE { unsigned int ate_5 : 2; // unused // fields in the future? must be signed also unsigned int at1a_2 : 6; // unused // - signed int reference : 14; // at0_0 + signed int reference : 15; // at0_0 unsigned int state : 1; // State 0 unsigned int busy : 17; unsigned int txID : 10; // TX ID @@ -184,7 +184,7 @@ struct XSECTOR { }; // 60(0x3c) bytes struct XWALL { - signed int reference : 14; + signed int reference : 15; unsigned int state : 1; // State unsigned int busy : 17; signed int data : 16; // Data