From bfc049a97c24ba20544988bf38c311b8eccb326e Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Sun, 1 Mar 2020 10:19:36 +0100 Subject: [PATCH] Fixed wrong __uint8 being used. --- CInterface/Library/SpeciesVariant.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CInterface/Library/SpeciesVariant.cpp b/CInterface/Library/SpeciesVariant.cpp index 38dae4f..13c022b 100644 --- a/CInterface/Library/SpeciesVariant.cpp +++ b/CInterface/Library/SpeciesVariant.cpp @@ -7,7 +7,7 @@ using ConstString = Arbutils::CaseInsensitiveConstString; export SpeciesVariant* CreatureLib_SpeciesVariant_Construct( const char* name, float height, float weight, uint32_t baseExperience, uint8_t types[], size_t typeLength, uint16_t baseHealth, uint16_t baseAttack, uint16_t baseDefense, uint16_t baseMagicalAttack, - uint16_t baseMagicalDefense, __uint8_t baseSpeed, const char* talents[], size_t talentsLength, + uint16_t baseMagicalDefense, uint8_t baseSpeed, const char* talents[], size_t talentsLength, const char* secretTalents[], size_t secretTalentsLength, const LearnableAttacks* attacks) { auto talentsWrapped = std::vector(talentsLength);