Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Doxoh committed Jan 17, 2025
1 parent c3930cc commit a6f3067
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion c-api/cache/CachedPlayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ namespace cache
_socialClubName(base->GetSocialClubName()),
_cloudID(base->GetCloudID()),
_cloudAuthResult(base->GetCloudAuthResult()),
_bloodDamageBase64(base->GetBloodDamageBase64())
_bloodDamageBase64(base->GetBloodDamageBase64()),
_isOnVehicle(base->IsOnVehicle())
#elif ALT_CLIENT_API
_talking(base->IsTalking()),
_micLevel(base->GetMicLevel()),
Expand Down Expand Up @@ -611,6 +612,11 @@ namespace cache
void SetBloodDamageBase64(const std::string& _base64) override {}

void RemoveHeadBlendPaletteColor() override {}

bool _isOnVehicle;
bool IsOnVehicle() const override {
return _isOnVehicle;
}
#endif


Expand Down

0 comments on commit a6f3067

Please sign in to comment.