Make CUnit::GetModel return a reference so it's clear it can never be NULL.

This was SVN commit r7464.
This commit is contained in:
Ykkrosh
2010-04-17 11:44:08 +00:00
parent 6a9de50692
commit 0547757a30
14 changed files with 63 additions and 62 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ float CEntity::ChooseMovementSpeed( float distance )
m_actor->SetAnimationState( anim_name, false, speed, 0.f, false, L"" );
// Animation desync
m_actor->GetModel()->Update( rand( 0, 1000 ) / 1000.0f );
m_actor->GetModel().Update( rand( 0, 1000 ) / 1000.0f );
}
}