Fixed SpeciesVariant C Interface requiring byte for base speed instead of short.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
4e79571e49
commit
2821eec263
|
@ -7,7 +7,7 @@ using ConstString = Arbutils::CaseInsensitiveConstString;
|
||||||
export SpeciesVariant* CreatureLib_SpeciesVariant_Construct(
|
export SpeciesVariant* CreatureLib_SpeciesVariant_Construct(
|
||||||
const char* name, float height, float weight, uint32_t baseExperience, uint8_t types[], size_t typeLength,
|
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 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, uint16_t baseSpeed, const char* talents[], size_t talentsLength,
|
||||||
const char* secretTalents[], size_t secretTalentsLength, const LearnableAttacks* attacks) {
|
const char* secretTalents[], size_t secretTalentsLength, const LearnableAttacks* attacks) {
|
||||||
|
|
||||||
auto talentsWrapped = Arbutils::Collections::List<ConstString>(talentsLength);
|
auto talentsWrapped = Arbutils::Collections::List<ConstString>(talentsLength);
|
||||||
|
|
Loading…
Reference in New Issue