From 66a6bb51b5ae59da06a4d5c5bd219311d152d00f Mon Sep 17 00:00:00 2001 From: Ramen2X Date: Sat, 16 Mar 2024 16:53:09 -0400 Subject: [PATCH] set pointers to NULL --- LEGO1/lego/legoomni/src/worlds/hospital.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/LEGO1/lego/legoomni/src/worlds/hospital.cpp b/LEGO1/lego/legoomni/src/worlds/hospital.cpp index 50e44ac2..882412af 100644 --- a/LEGO1/lego/legoomni/src/worlds/hospital.cpp +++ b/LEGO1/lego/legoomni/src/worlds/hospital.cpp @@ -33,8 +33,8 @@ Hospital::Hospital() m_unk0x108 = 0; m_destLocation = LegoGameState::e_undefined; m_unk0x10c = 0; - m_copLedBitmap = 0; - m_pizzaLedBitmap = 0; + m_copLedBitmap = NULL; + m_pizzaLedBitmap = NULL; m_unk0x118 = 0; m_unk0x11c = 0; m_unk0x120 = 0; @@ -196,7 +196,6 @@ void Hospital::ReadyWorld() m_hospitalState->m_unk0x08.m_unk0x00 = 5; PlayAction(hospitalScript[m_hospitalState->m_unk0x0c]); - m_unk0x10c = hospitalScript[m_hospitalState->m_unk0x0c]; } else {