diff --git a/LEGO1/lego/legoomni/include/legoanimpresenter.h b/LEGO1/lego/legoomni/include/legoanimpresenter.h index 2d46c84c..7f4d1b5d 100644 --- a/LEGO1/lego/legoomni/include/legoanimpresenter.h +++ b/LEGO1/lego/legoomni/include/legoanimpresenter.h @@ -65,7 +65,7 @@ class LegoAnimPresenter : public MxVideoPresenter { void FUN_100692b0(); void FUN_100695c0(); LegoChar* FUN_100697c0(const LegoChar* p_und1, const LegoChar* p_und2); - LegoBool FUN_100698b0(const CompoundObject& rois, const LegoChar* p_und2); + LegoBool FUN_100698b0(const CompoundObject& p_rois, const LegoChar* p_und2); void FUN_10069b10(); LegoBool FUN_1006aba0(); LegoBool FUN_1006abb0(LegoTreeNode*, undefined4); diff --git a/LEGO1/lego/legoomni/src/video/legoanimpresenter.cpp b/LEGO1/lego/legoomni/src/video/legoanimpresenter.cpp index 2b3b7c23..a56030b7 100644 --- a/LEGO1/lego/legoomni/src/video/legoanimpresenter.cpp +++ b/LEGO1/lego/legoomni/src/video/legoanimpresenter.cpp @@ -274,7 +274,7 @@ LegoChar* LegoAnimPresenter::FUN_100697c0(const LegoChar* p_und1, const LegoChar } // FUNCTION: LEGO1 0x100698b0 -LegoBool LegoAnimPresenter::FUN_100698b0(const CompoundObject& rois, const LegoChar* p_und2) +LegoBool LegoAnimPresenter::FUN_100698b0(const CompoundObject& p_rois, const LegoChar* p_und2) { LegoBool result = FALSE; @@ -285,8 +285,8 @@ LegoBool LegoAnimPresenter::FUN_100698b0(const CompoundObject& rois, const LegoC str = tmp; } - if (str != NULL && *str != '\0' && rois.size() > 0) { - for (CompoundObject::const_iterator it = rois.begin(); it != rois.end(); it++) { + if (str != NULL && *str != '\0' && p_rois.size() > 0) { + for (CompoundObject::const_iterator it = p_rois.begin(); it != p_rois.end(); it++) { LegoROI* roi = (LegoROI*) *it; const char* name = roi->GetName();