Fix HitData.Damage being float instead of uint on scripts.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
3a141e7f9d
commit
a31477d4cb
|
@ -22,7 +22,7 @@ void RegisterExecutingAttack::RegisterHitData(asIScriptEngine* engine) {
|
|||
asMETHOD(CreatureLib::Battling::ExecutingAttack::HitData, GetEffectiveness),
|
||||
asCALL_THISCALL);
|
||||
assert(r >= 0);
|
||||
r = engine->RegisterObjectMethod("HitData", "float get_Damage() const property",
|
||||
r = engine->RegisterObjectMethod("HitData", "uint get_Damage() const property",
|
||||
asMETHOD(CreatureLib::Battling::ExecutingAttack::HitData, GetDamage),
|
||||
asCALL_THISCALL);
|
||||
assert(r >= 0);
|
||||
|
|
Loading…
Reference in New Issue