Removed unused boost header, fixed compiling with new luabind

Fixed TryFinishingBlow attempting to return by parameter reference.
The new luabind fails with a by_reference to by_value check. Using
a pointer accomplishes the same goal, but bypasses this issue.
This commit is contained in:
Adam Martin
2019-02-02 00:08:39 -06:00
parent 26eb4fb6e0
commit 5f23a72a16
5 changed files with 12 additions and 13 deletions
+1 -1
View File
@@ -411,7 +411,7 @@ public:
int AttackAnimation(int Hand, Lua_ItemInst weapon);
int GetWeaponDamage(Lua_Mob against, Lua_ItemInst weapon);
bool IsBerserk();
bool TryFinishingBlow(Lua_Mob defender, int &damage);
bool TryFinishingBlow(Lua_Mob defender, int *damage);
int GetBodyType();
int GetOrigBodyType();
void CheckNumHitsRemaining(int type, int32 buff_slot, uint16 spell_id);