From 5b9e9106efc7115b1075a2a86a75de034617f5b5 Mon Sep 17 00:00:00 2001 From: PJB3005 Date: Wed, 27 May 2026 14:00:36 +0200 Subject: [PATCH] Fix mSkipEventName again They WAY undersized this in the original game it seems. The event used for the Zora overflows the original buffer size by *6* bytes. Fixes https://github.com/TwilitRealm/dusklight/issues/1531 --- include/d/d_event.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/d/d_event.h b/include/d/d_event.h index ed0d749db4..e465b456d7 100644 --- a/include/d/d_event.h +++ b/include/d/d_event.h @@ -196,8 +196,8 @@ public: /* 0x108 */ int mSkipTimer; /* 0x10C */ int mSkipParameter; /* 0x110 */ BOOL mIsSkipFade; -#if TARGET_PC - /* 0x114 */ char mSkipEventName[21]; +#if AVOID_UB + /* 0x114 */ char mSkipEventName[32]; #else /* 0x114 */ char mSkipEventName[20]; #endif