mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-16 04:30:38 +00:00
sw/src/game.cpp:LoadLevel: Rename q16ang -> ang
This commit is contained in:
parent
a2a1642f3d
commit
b447feef91
1 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue