Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in CHudSA #3966

Merged
merged 1 commit into from
Jan 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading