mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-07-04 12:35:52 +00:00
CAiFuncMap: Remove unused static std::vector
This isn't used, so we can remove it and get rid of a static constructor.
This commit is contained in:
parent
20a0585cc5
commit
c9271809a7
@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
#include <vector>
|
|
||||||
|
|
||||||
namespace urde {
|
namespace urde {
|
||||||
class CAi;
|
class CAi;
|
||||||
@ -14,7 +13,6 @@ using CAiStateFunc = void (CAi::*)(CStateManager&, EStateMsg, float);
|
|||||||
using CAiTriggerFunc = bool (CAi::*)(CStateManager&, float);
|
using CAiTriggerFunc = bool (CAi::*)(CStateManager&, float);
|
||||||
|
|
||||||
class CAiFuncMap {
|
class CAiFuncMap {
|
||||||
static const std::vector<std::string> gkStateNames;
|
|
||||||
std::unordered_map<std::string, CAiStateFunc> x0_stateFuncs;
|
std::unordered_map<std::string, CAiStateFunc> x0_stateFuncs;
|
||||||
std::unordered_map<std::string, CAiTriggerFunc> x10_triggerFuncs;
|
std::unordered_map<std::string, CAiTriggerFunc> x10_triggerFuncs;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user