mirror of
https://github.com/FWGS/hlsdk-xash3d
synced 2024-11-24 18:59:26 +01:00
Remove redundant casts to float when retrieving model frames
This commit is contained in:
parent
54181adc8e
commit
c2064d88ed
@ -1106,7 +1106,7 @@ void CBMortar::Spawn( void )
|
||||
|
||||
UTIL_SetSize( pev, Vector( 0, 0, 0 ), Vector( 0, 0, 0 ) );
|
||||
|
||||
m_maxFrame = (float) MODEL_FRAMES( pev->modelindex ) - 1;
|
||||
m_maxFrame = MODEL_FRAMES( pev->modelindex ) - 1;
|
||||
pev->dmgtime = gpGlobals->time + 0.4f;
|
||||
}
|
||||
|
||||
|
@ -95,7 +95,7 @@ void CSquidSpit::Spawn( void )
|
||||
|
||||
UTIL_SetSize( pev, Vector( 0, 0, 0 ), Vector( 0, 0, 0 ) );
|
||||
|
||||
m_maxFrame = (float)MODEL_FRAMES( pev->modelindex ) - 1;
|
||||
m_maxFrame = MODEL_FRAMES( pev->modelindex ) - 1;
|
||||
}
|
||||
|
||||
void CSquidSpit::Animate( void )
|
||||
|
Loading…
Reference in New Issue
Block a user