From 893673c63c3f4a453d966f004a88cd93a12f5058 Mon Sep 17 00:00:00 2001 From: JoshuaMKW Date: Fri, 9 Feb 2024 14:05:24 -0600 Subject: [PATCH] Gregory my boy --- include/JSystem/JGadget/List.hxx | 4 ++-- include/SMS/Enemy/Conductor.hxx | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/JSystem/JGadget/List.hxx b/include/JSystem/JGadget/List.hxx index 3588ce1..9835993 100644 --- a/include/JSystem/JGadget/List.hxx +++ b/include/JSystem/JGadget/List.hxx @@ -357,9 +357,9 @@ namespace JGadget { iterator begin() _GLIBCXX_NOEXCEPT { return iterator(mBegin); } const_iterator begin() const _GLIBCXX_NOEXCEPT { return const_iterator(mBegin); } - iterator end() _GLIBCXX_NOEXCEPT { return iterator(reinterpret_cast(&mEnd)); } + iterator end() _GLIBCXX_NOEXCEPT { return iterator(reinterpret_cast(&mBegin)); } const_iterator end() const _GLIBCXX_NOEXCEPT { - return const_iterator(reinterpret_cast(&mEnd)); + return const_iterator(reinterpret_cast(&mBegin)); } #if __cplusplus >= 201103L diff --git a/include/SMS/Enemy/Conductor.hxx b/include/SMS/Enemy/Conductor.hxx index 270e23e..93f65f2 100644 --- a/include/SMS/Enemy/Conductor.hxx +++ b/include/SMS/Enemy/Conductor.hxx @@ -62,6 +62,7 @@ public: void registerOtherObj(JDrama::TViewObj *); void registerSDLModelData(void * /*SDLModelData*/); + u32 _0C; JGadget::TList _10; JGadget::TList _20; JGadget::TList _30;