mirror of
https://github.com/td512/re3.git
synced 2026-03-01 18:07:27 +00:00
little cleanup and synch on templates and config
This commit is contained in:
@@ -88,7 +88,7 @@ CBaseModelInfo::Add2dEffect(C2dEffect *fx)
|
||||
if(m_2dEffectsID >= 0)
|
||||
m_num2dEffects++;
|
||||
else{
|
||||
m_2dEffectsID = CModelInfo::Get2dEffectStore().getIndex(fx);
|
||||
m_2dEffectsID = CModelInfo::Get2dEffectStore().GetIndex(fx);
|
||||
m_num2dEffects = 1;
|
||||
}
|
||||
}
|
||||
@@ -97,7 +97,7 @@ C2dEffect*
|
||||
CBaseModelInfo::Get2dEffect(int n)
|
||||
{
|
||||
if(m_2dEffectsID >= 0)
|
||||
return CModelInfo::Get2dEffectStore().getItem(m_2dEffectsID+n);
|
||||
return CModelInfo::Get2dEffectStore().GetItem(m_2dEffectsID+n);
|
||||
else
|
||||
return nil;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user