diff --git a/desktop_version/src/Script.h b/desktop_version/src/Script.h index 7af1c8e8..e4d07b13 100644 --- a/desktop_version/src/Script.h +++ b/desktop_version/src/Script.h @@ -4,7 +4,9 @@ #include #include -#define filllines(lines) commands.insert(commands.end(), lines, lines + sizeof(lines)/sizeof(lines[0])) +#include + +#define filllines(lines) commands.insert(commands.end(), lines, lines + SDL_arraysize(lines)) struct Script