[int64] Hate Fixes (#2163)

* Hate fixes

* Update perl_hateentry.cpp

* Update perl_hateentry.cpp
This commit is contained in:
Chris Miles
2022-05-09 20:49:43 -05:00
committed by GitHub
parent 763fc82379
commit 209b0eb273
22 changed files with 119 additions and 47 deletions
+2 -2
View File
@@ -30,12 +30,12 @@ void Lua_HateEntry::SetDamage(int64 value) {
self->hatelist_damage = value;
}
uint64 Lua_HateEntry::GetHate() {
int64 Lua_HateEntry::GetHate() {
Lua_Safe_Call_Int();
return self->stored_hate_amount;
}
void Lua_HateEntry::SetHate(uint64 value) {
void Lua_HateEntry::SetHate(int64 value) {
Lua_Safe_Call_Void();
self->stored_hate_amount = value;
}