All global state coming from g_state now

This commit is contained in:
jaburns
2020-10-27 21:35:18 -06:00
parent d12a3e2568
commit c3c004ce94
5 changed files with 24 additions and 17 deletions
+1
View File
@@ -9,6 +9,7 @@ struct GlobalState *global_state_create(void)
{
struct GlobalState *state = malloc( sizeof( struct GlobalState ));
memset( state, 0, sizeof( struct GlobalState ));
state->msSwimStrength = MIN_SWIM_STRENGTH;
return state;
}