Match and link CStateMachineFactory

Former-commit-id: fdf57fb977840449171779a3d788b13af7c6c5fc
This commit is contained in:
2023-10-17 12:25:54 -07:00
parent 602ed2b570
commit 79d5df69e1
5 changed files with 21 additions and 14 deletions

View File

@@ -55,8 +55,10 @@ private:
class CAiState {
public:
CAiState(CAiStateFunc func, const char* name) {
x0_func = func;
CAiState(CAiStateFunc func, const char* name)
: x0_func(func)
, x2c_numTriggers(0)
, x30_firstTrigger(nullptr) {
strncpy(xc_name, name, 31);
}