mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-26 18:04:06 +00:00
Rename Infocenterstate::m_buffer to m_letters (#558)
* Rename Infocenterstate::m_buffer * Rename function * Fix * Fix * Rename function * Rename function * Rename function
This commit is contained in:
committed by
GitHub
parent
5233b48c59
commit
5bba81c0ca
@@ -107,7 +107,7 @@ InfocenterState::InfocenterState()
|
||||
|
||||
m_bricksterDialogue = LegoState::Playlist((MxU32*) g_bricksterDialogue, _countof(g_bricksterDialogue));
|
||||
|
||||
memset(m_buffer, 0, sizeof(m_buffer));
|
||||
memset(m_letters, 0, sizeof(m_letters));
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x10071920
|
||||
@@ -115,10 +115,10 @@ InfocenterState::~InfocenterState()
|
||||
{
|
||||
MxS16 i = 0;
|
||||
do {
|
||||
if (GetInfocenterBufferElement(i) != NULL) {
|
||||
delete GetInfocenterBufferElement(i)->GetAction();
|
||||
delete GetInfocenterBufferElement(i);
|
||||
if (GetNameLetter(i) != NULL) {
|
||||
delete GetNameLetter(i)->GetAction();
|
||||
delete GetNameLetter(i);
|
||||
}
|
||||
i++;
|
||||
} while (i < GetInfocenterBufferSize());
|
||||
} while (i < GetMaxNameLength());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user