Skip to content

Commit

Permalink
Fix typo in CHudSA (multitheftauto#3966)
Browse files Browse the repository at this point in the history
Replace
  • Loading branch information
Nico8340 authored Jan 18, 2025
1 parent af369be commit bf689fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Client/game_sa/CHudSA.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,7 @@ void __fastcall CHudSA::RenderWeaponIcon_Sprite(void* sprite, void*, CRect* rect
color->a = properties.fillColorSecondary.a;

// Call CSprite2d::Draw
((void(__thiscall*)(void*, CRect*, RwColor*))FUNC_CSprie2d_Draw)(sprite, rect, color);
((void(__thiscall*)(void*, CRect*, RwColor*))FUNC_CSprite2d_Draw)(sprite, rect, color);
}

void CHudSA::RenderWeaponIcon_XLU(CVector pos, CVector2D halfSize, std::uint8_t r, std::uint8_t g, std::uint8_t b, std::uint16_t intensity, float rhw, std::uint8_t a, std::uint8_t uDir, std::uint8_t vDir)
Expand Down
2 changes: 1 addition & 1 deletion Client/game_sa/CHudSA.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

#define FUNC_CStats_GetFatAndMuscleModifier 0x559AF0
#define FUNC_CSprite2d_DrawBarChart 0x728640
#define FUNC_CSprie2d_Draw 0x728350
#define FUNC_CSprite2d_Draw 0x728350
#define FUNC_CSprite_RenderOneXLUSprite 0x70D000

#define CODE_ShowMoney 0x58F47D
Expand Down

0 comments on commit bf689fd

Please sign in to comment.