diff --git a/src/script/squirrel.hpp b/src/script/squirrel.hpp --- a/src/script/squirrel.hpp +++ b/src/script/squirrel.hpp @@ -13,9 +13,9 @@ #include /** The type of script we're working with, i.e. for who is it? */ -enum ScriptType { - ST_AI, ///< The script is for AI scripts. - ST_GS, ///< The script is for Game scripts. +enum class ScriptType { + AI, ///< The script is for AI scripts. + GS, ///< The script is for Game scripts. }; struct ScriptAllocator;