diff options
| author | theo3 <arisstephenson2@gmail.com> | 2021-11-11 21:18:48 -0800 |
|---|---|---|
| committer | theo3 <arisstephenson2@gmail.com> | 2021-11-11 21:18:48 -0800 |
| commit | fddb4abd534ef1ef623cb044bc97c45713fbcfd1 (patch) | |
| tree | 4668fa2e16aa441da3c2f06b8d9b54c9762c2523 /src/manager.c | |
| parent | 313cc336f21fcf81e3e336b4fe45ca5053771f93 (diff) | |
move entity update functions
Diffstat (limited to 'src/manager.c')
| -rw-r--r-- | src/manager.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/manager.c b/src/manager.c index 1d8974cf..eda605a0 100644 --- a/src/manager.c +++ b/src/manager.c @@ -12,3 +12,8 @@ void (*const gManagerFunctions[])() = { Manager31_Main, Manager32_Main, Manager33_Main, Manager34_Main, Manager35_Main, Manager36_Main, Manager37_Main, Manager38_Main, Manager39_Main }; + +void ManagerUpdate(Entity* this) { + if (!CheckDontUpdate(this)) + gManagerFunctions[this->id](this); +} |
