From b447feef911ed085be7dbfe71bbafbfc967e7215 Mon Sep 17 00:00:00 2001 From: NY00123 Date: Sat, 4 Apr 2020 01:40:01 +0300 Subject: [PATCH] sw/src/game.cpp:LoadLevel: Rename q16ang -> ang --- source/sw/src/game.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/sw/src/game.cpp b/source/sw/src/game.cpp index 1a7ee4718..8ceeb16c0 100644 --- a/source/sw/src/game.cpp +++ b/source/sw/src/game.cpp @@ -586,8 +586,8 @@ void TerminateGame(void) bool LoadLevel(const char *filename) { - int16_t q16ang; - if (engineLoadBoard(filename, SW_SHAREWARE ? 1 : 0, (vec3_t *)&Player[0], &q16ang, &Player[0].cursectnum) == -1) + int16_t ang; + if (engineLoadBoard(filename, SW_SHAREWARE ? 1 : 0, (vec3_t *)&Player[0], &ang, &Player[0].cursectnum) == -1) { Printf("Level not found: %s", filename); return false; @@ -596,7 +596,7 @@ bool LoadLevel(const char *filename) SECRET_SetMapName(currentLevel->DisplayName(), currentLevel->name); STAT_NewLevel(currentLevel->labelName); return true; - Player[0].q16ang = fix16_from_int(q16ang); + Player[0].q16ang = fix16_from_int(ang); } void LoadDemoRun(void)