Fixed an overflow bug

This commit is contained in:
2016-12-04 06:54:29 +11:00
parent 5c144c2099
commit 398ccd5b3f
3 changed files with 3 additions and 1 deletions
+1
View File
@@ -55,6 +55,7 @@ int CreatureData::Update(lua_State* L) {
}
ret += lua_tonumber(L, -1);
lua_pop(L, 1);
}
Entity::Update();