mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
sw/src/game.cpp:LoadLevel: Rename q16ang -> ang
This commit is contained in:
parent
d2e9595980
commit
a178961a3e
1 changed files with 3 additions and 3 deletions
|
@ -590,8 +590,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;
|
||||
|
@ -599,7 +599,7 @@ bool LoadLevel(const char *filename)
|
|||
currentLevel = &mapList[Level];
|
||||
SECRET_SetMapName(currentLevel->DisplayName(), currentLevel->name);
|
||||
STAT_NewLevel(currentLevel->labelName);
|
||||
Player[0].q16ang = fix16_from_int(q16ang);
|
||||
Player[0].q16ang = fix16_from_int(ang);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue