TONY: Fix some Valgrind identified warnings

This commit is contained in:
Paul Gilbert 2012-05-05 09:31:21 +10:00
parent 3454a0a9c3
commit 657d93ea8f
3 changed files with 286 additions and 286 deletions

View file

@ -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();
}