diff --git a/Runtime/World/CPatterned.hpp b/Runtime/World/CPatterned.hpp index 840ed78c8..1c16b9221 100644 --- a/Runtime/World/CPatterned.hpp +++ b/Runtime/World/CPatterned.hpp @@ -26,7 +26,8 @@ namespace urde { class CPatternedInfo; class CProjectileInfo; class CPathFindSearch; -typedef void (CPatterned::*CPatternedTryFunc)(CStateManager&, int); + +using CPatternedTryFunc = void (CPatterned::*)(CStateManager&, int); class CPatterned : public CAi { public: diff --git a/Runtime/World/ScriptLoader.hpp b/Runtime/World/ScriptLoader.hpp index e0a84d55e..86d6cea48 100644 --- a/Runtime/World/ScriptLoader.hpp +++ b/Runtime/World/ScriptLoader.hpp @@ -18,7 +18,7 @@ class CScannableParameters; class CStateManager; class CVisorParameters; -typedef CEntity* (*FScriptLoader)(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info); +using FScriptLoader = CEntity* (*)(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info); class ScriptLoader { public: