mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-18 22:51:50 +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)
|
bool LoadLevel(const char *filename)
|
||||||
{
|
{
|
||||||
int16_t q16ang;
|
int16_t ang;
|
||||||
if (engineLoadBoard(filename, SW_SHAREWARE ? 1 : 0, (vec3_t *)&Player[0], &q16ang, &Player[0].cursectnum) == -1)
|
if (engineLoadBoard(filename, SW_SHAREWARE ? 1 : 0, (vec3_t *)&Player[0], &ang, &Player[0].cursectnum) == -1)
|
||||||
{
|
{
|
||||||
Printf("Level not found: %s", filename);
|
Printf("Level not found: %s", filename);
|
||||||
return false;
|
return false;
|
||||||
|
@ -596,7 +596,7 @@ bool LoadLevel(const char *filename)
|
||||||
SECRET_SetMapName(currentLevel->DisplayName(), currentLevel->name);
|
SECRET_SetMapName(currentLevel->DisplayName(), currentLevel->name);
|
||||||
STAT_NewLevel(currentLevel->labelName);
|
STAT_NewLevel(currentLevel->labelName);
|
||||||
return true;
|
return true;
|
||||||
Player[0].q16ang = fix16_from_int(q16ang);
|
Player[0].q16ang = fix16_from_int(ang);
|
||||||
}
|
}
|
||||||
|
|
||||||
void LoadDemoRun(void)
|
void LoadDemoRun(void)
|
||||||
|
|
Loading…
Reference in a new issue