Fix optimization flag for Shield (#3004)

* Fix optimization flag for Shield

* Minor debug work

* Fix NULL asserts
This commit is contained in:
LagoLunatic
2025-12-26 19:20:21 -05:00
committed by GitHub
parent 4ebf9fac9f
commit 09280ae00b
20 changed files with 148 additions and 114 deletions
+3 -1
View File
@@ -349,11 +349,13 @@ static int daItemShield_Execute(daItemShield_c* i_this) {
}
static int daItemShield_Delete(daItemShield_c* i_this) {
fopAcM_RegisterDeleteID(i_this, "ObjSShield");
return i_this->_delete();
}
static int daItemShield_Create(fopAc_ac_c* i_this) {
return static_cast<daItemShield_c*>(i_this)->create();
fopAcM_RegisterCreateID(daItemShield_c, i_this, "ObjSShield");
return a_this->create();
}
static actor_method_class l_daItemShield_Method = {