From 94eee1603f8dd74c3a84044f4f8ca4f987f477ce Mon Sep 17 00:00:00 2001 From: jonschz Date: Sat, 17 Aug 2024 07:32:43 +0200 Subject: [PATCH] Rename variable --- LEGO1/lego/legoomni/src/race/legoracespecial.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LEGO1/lego/legoomni/src/race/legoracespecial.cpp b/LEGO1/lego/legoomni/src/race/legoracespecial.cpp index a3c73313..4c7d0c19 100644 --- a/LEGO1/lego/legoomni/src/race/legoracespecial.cpp +++ b/LEGO1/lego/legoomni/src/race/legoracespecial.cpp @@ -292,7 +292,7 @@ MxU32 LegoCarRaceActor::VTable0x6c( ) { // STRING: LEGO1 0x100f7af4 - const char* g_rcdor = "rcdor"; + const char* str_rcdor = "rcdor"; LegoAnimPresenterSet& presenters = p_boundary->GetPresenters(); @@ -313,7 +313,7 @@ MxU32 LegoCarRaceActor::VTable0x6c( LegoROI* roi = actor->GetROI(); if (roi != NULL && (roi->GetVisibility() || actor->GetCameraFlag())) { - if (strncmp(roi->GetName(), g_rcdor, 5) == 0) { + if (strncmp(roi->GetName(), str_rcdor, 5) == 0) { const CompoundObject* co = roi->GetComp(); // name verified by BETA10 0x100cf8ba if (co) {