Add enums for items and disappears

This commit is contained in:
LagoLunatic
2025-01-11 19:15:36 -05:00
parent 24fab1a52a
commit d330c1e68a
8 changed files with 159 additions and 119 deletions
+2 -1
View File
@@ -135,7 +135,8 @@ bool daSwItem_c::_execute() {
csXyz angle(0, home.angle.y, 0);
fpc_ProcID itemProcId = fopAcM_createItemFromTable(
&current.pos, itemTbl, itemBitNo,
fopAcM_GetHomeRoomNo(this), 0, &angle, 1
fopAcM_GetHomeRoomNo(this), daItemType_0_e,
&angle, daItemAct_1_e
);
daItem_c* item = (daItem_c*)fopAcM_SearchByID(itemProcId);