mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-24 08:41:16 +00:00
Fix name
This commit is contained in:
parent
e158430de5
commit
8f3672a342
@ -36,7 +36,7 @@ class LegoPhonemePresenter : public MxFlcPresenter {
|
||||
undefined4 m_unk0x68; // 0x68
|
||||
LegoTextureInfo* m_textureInfo; // 0x6c
|
||||
MxBool m_unk0x70; // 0x70
|
||||
MxString roiName; // 0x74
|
||||
MxString m_roiName; // 0x74
|
||||
MxBool m_unk0x84; // 0x84
|
||||
};
|
||||
|
||||
|
||||
@ -39,24 +39,24 @@ void LegoPhonemePresenter::StartingTickle()
|
||||
m_action->GetExtra(extraLength, extraData);
|
||||
|
||||
if (extraData != NULL) {
|
||||
roiName = extraData;
|
||||
roiName.ToUpperCase();
|
||||
m_roiName = extraData;
|
||||
m_roiName.ToUpperCase();
|
||||
|
||||
LegoROI *entityROI, *head;
|
||||
|
||||
if (m_compositePresenter != NULL && m_compositePresenter->IsA("LegoAnimMMPresenter")) {
|
||||
entityROI = FindROI(roiName.GetData());
|
||||
entityROI = FindROI(m_roiName.GetData());
|
||||
m_unk0x84 = TRUE;
|
||||
}
|
||||
else {
|
||||
entityROI = CharacterManager()->GetROI(roiName.GetData(), TRUE);
|
||||
entityROI = CharacterManager()->GetROI(m_roiName.GetData(), TRUE);
|
||||
}
|
||||
|
||||
head = entityROI->FindChildROI("head", entityROI);
|
||||
head->GetTexture(m_textureInfo);
|
||||
|
||||
LegoPhonemeList* phonemeList = VideoManager()->GetPhonemeList();
|
||||
LegoPhoneme* phoneme = new LegoPhoneme(roiName.GetData(), 1);
|
||||
LegoPhoneme* phoneme = new LegoPhoneme(m_roiName.GetData(), 1);
|
||||
|
||||
LegoPhonemeListCursor cursor(phonemeList);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user