From 1a295018fe9c138693e2e2f89c3a94b1cb0f6415 Mon Sep 17 00:00:00 2001 From: "Ts. Vadim" Date: Thu, 20 Jul 2023 08:10:07 +0300 Subject: [PATCH] . --- .github/workflows/release.yml | 2 +- src/game/states/gameplay.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 68c9809..fbd472a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -63,7 +63,7 @@ jobs: - uses: actions/checkout@v1 - name: Configuring CMake - run: make cnofigure + run: make configure - name: Building run: make build diff --git a/src/game/states/gameplay.c b/src/game/states/gameplay.c index ef66dd3..10cd77c 100644 --- a/src/game/states/gameplay.c +++ b/src/game/states/gameplay.c @@ -137,8 +137,8 @@ static void _gameplay_state_exit(game_state_t* state, game_t* game) { kv_destroy(gameplay->pipes); kv_init(gameplay->pipes); + // memset(gameplay, 0, sizeof(*gameplay)); free(state->data); - memset(gameplay, 0, sizeof(*gameplay)); } game_state_t gameplay_state_create() {