diff --git a/src/game/client/render.cpp b/src/game/client/render.cpp index 382999d23..26bf9a0f4 100644 --- a/src/game/client/render.cpp +++ b/src/game/client/render.cpp @@ -95,9 +95,9 @@ void CRenderTools::GetSpriteScale(struct CDataSprite *pSprite, float &ScaleX, fl GetSpriteScaleImpl(w, h, ScaleX, ScaleY); } -void CRenderTools::GetSpriteScale(int id, float &ScaleX, float &ScaleY) +void CRenderTools::GetSpriteScale(int Id, float &ScaleX, float &ScaleY) { - GetSpriteScale(&g_pData->m_aSprites[id], ScaleX, ScaleY); + GetSpriteScale(&g_pData->m_aSprites[Id], ScaleX, ScaleY); } void CRenderTools::GetSpriteScaleImpl(int Width, int Height, float &ScaleX, float &ScaleY) diff --git a/src/game/client/render.h b/src/game/client/render.h index 62dfa6f8c..e8b93b5b6 100644 --- a/src/game/client/render.h +++ b/src/game/client/render.h @@ -69,11 +69,11 @@ public: void Init(class IGraphics *pGraphics, class ITextRender *pTextRender); void SelectSprite(struct CDataSprite *pSprite, int Flags = 0, int sx = 0, int sy = 0); - void SelectSprite(int id, int Flags = 0, int sx = 0, int sy = 0); + void SelectSprite(int Id, int Flags = 0, int sx = 0, int sy = 0); void GetSpriteScale(client_data7::CDataSprite *pSprite, float &ScaleX, float &ScaleY); void GetSpriteScale(struct CDataSprite *pSprite, float &ScaleX, float &ScaleY); - void GetSpriteScale(int id, float &ScaleX, float &ScaleY); + void GetSpriteScale(int Id, float &ScaleX, float &ScaleY); void GetSpriteScaleImpl(int Width, int Height, float &ScaleX, float &ScaleY); void DrawSprite(float x, float y, float size);