diff options
author | nathansmithsmith <thenathansmithsmith@gmail.com> | 2023-12-12 12:35:44 -0700 |
---|---|---|
committer | nathansmithsmith <thenathansmithsmith@gmail.com> | 2023-12-12 12:35:44 -0700 |
commit | 6f7586ab2cfbba32a1baacb5823d653627c1bc7a (patch) | |
tree | 6705b9539fd4d6b6a408aac93aabb3d67fdec415 | |
parent | e5a0d7db8144af0bcc4ac6ec1d5b2a5240d051e4 (diff) |
Got rid of one annoying warning
-rw-r--r-- | src/gameScreen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gameScreen.c b/src/gameScreen.c index ff9b4d3..609f145 100644 --- a/src/gameScreen.c +++ b/src/gameScreen.c @@ -336,7 +336,7 @@ void drawGameOverGameScreen(Game * game, GameScreen * gameScreen) { float width = GetScreenWidth(); float height = GetScreenHeight(); - const char * gameOverMsg = "Game Over"; + const char gameOverMsg[] = "Game Over"; Vector2 position = (Vector2){ width / 2.0 - ((sizeof(gameOverMsg) + 1) * (GAME_SCREEN_GAME_OVER_FONT_SIZE / 2.0) / 2.0), |