diff --git a/include/playerlist.hpp b/include/playerlist.hpp index 33f2edb2..6f048982 100644 --- a/include/playerlist.hpp +++ b/include/playerlist.hpp @@ -26,6 +26,7 @@ enum class k_EState }; #if ENABLE_VISUALS extern rgba_t k_Colors[]; +static_assert(sizeof(rgba_t) == sizeof(float) * 4, "player list is going to be incompatible with no visual version"); #endif const std::string k_Names[] = { "DEFAULT", "FRIEND", "RAGE", "IPC", "DEVELOPER", "CAT" }; const char *const k_pszNames[] = { "DEFAULT", "FRIEND", "RAGE", "IPC", "DEVELOPER", "CAT" };