mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 01:59:43 +01:00
Fix a crash on first unfocus
This commit is contained in:
parent
7abd4bb8d8
commit
415d4790e2
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ static const struct ImplFunc unfocused_func_list[] = {
|
|||
};
|
||||
static const struct ImplFunc* unfocused_funcs = unfocused_func_list;
|
||||
static int num_unfocused_funcs = SDL_arraysize(unfocused_func_list);
|
||||
static int unfocused_func_index = -1;
|
||||
static int unfocused_func_index = 0; // This does not get incremented on start, do NOT use -1!
|
||||
|
||||
static enum IndexCode increment_unfocused_func_index(void)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue