TONY: Fix some Valgrind identified warnings
This commit is contained in:
parent
3454a0a9c3
commit
657d93ea8f
3 changed files with 286 additions and 286 deletions
|
@ -82,6 +82,17 @@ void RMTony::Init(void) {
|
|||
RMRes body(9999);
|
||||
RMDataStream ds;
|
||||
|
||||
// Mostra Tony di default
|
||||
m_bShow=m_bShowOmbra = true;
|
||||
|
||||
// Nessuna azione in attesa
|
||||
m_bActionPending = false;
|
||||
m_bAction = false;
|
||||
|
||||
m_bPastorella = false;
|
||||
m_bIsTalking = false;
|
||||
m_bIsStaticTalk = false;
|
||||
|
||||
// Apre il buffer
|
||||
ds.OpenBuffer(tony);
|
||||
|
||||
|
@ -97,17 +108,6 @@ void RMTony::Init(void) {
|
|||
ds.Close();
|
||||
m_body.SetPattern(0);
|
||||
|
||||
// Mostra Tony di default
|
||||
m_bShow=m_bShowOmbra = true;
|
||||
|
||||
// Nessuna azione in attesa
|
||||
m_bActionPending = false;
|
||||
m_bAction = false;
|
||||
|
||||
m_bPastorella = false;
|
||||
m_bIsTalking = false;
|
||||
m_bIsStaticTalk = false;
|
||||
|
||||
m_nTimeLastStep = _vm->GetTime();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue