small fixes

This commit is contained in:
lepelog
2022-06-26 23:44:57 +02:00
parent afd940edbc
commit d0e349630e
3 changed files with 29 additions and 30 deletions
+1 -1
View File
@@ -820,7 +820,7 @@ int dEvent_manager_c::getMyStaffId(char const* pStaffName, fopAc_ac_c* pActor, i
for (i = 0; i < staffCount; i++) {
staffNum = event->getStaff(i);
dEvDtStaff_c* staff = getBase().getStaffP(staffNum);
if (staff->mType != 1) {
if (staff->mType != dEvDtStaff_c::TYPE_ALL) {
char buf[0x18];
strcpy(buf, staff->mName);
char* ptr = NULL;