Skip to content

Commit

Permalink
being anal
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Feeney committed Dec 5, 2016
1 parent 7e399fb commit 772c359
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Sprite.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,8 @@ void Sprite::SetTexture( RageTexture *pTexture )
ASSERT( m_pTexture->GetTextureHeight() >= 0 );

// the size of the sprite is the size of the image before it was scaled
Sprite::m_size.x = (float)m_pTexture->GetSourceFrameWidth();
Sprite::m_size.y = (float)m_pTexture->GetSourceFrameHeight();
Sprite::m_size.x = static_cast<float>(m_pTexture->GetSourceFrameWidth());
Sprite::m_size.y = static_cast<float>(m_pTexture->GetSourceFrameHeight());

// apply clipping (if any)
if( m_fRememberedClipWidth != -1 && m_fRememberedClipHeight != -1 )
Expand Down

0 comments on commit 772c359

Please sign in to comment.