- Fixed: When the DONTMOVE flag for A_Chase was used, movecount was not decreased
resulting in missile attacks not working. - Fixed: Hitscan attacks used the puff's position to calculate the trajectory for weapon kickback. SVN r568 (trunk)
This commit is contained in:
parent
e09629e2b6
commit
ba61c60d52
6 changed files with 26 additions and 11 deletions
|
|
@ -1717,16 +1717,17 @@ void G_ExitLevel (int position, bool keepFacing)
|
|||
|
||||
void G_SecretExitLevel (int position)
|
||||
{
|
||||
const char *nextmap;
|
||||
const char *nextmap = level.nextmap;
|
||||
|
||||
MapData * map = P_OpenMapData(level.secretmap);
|
||||
if (map != NULL)
|
||||
if (level.secretmap[0] != 0)
|
||||
{
|
||||
delete map;
|
||||
nextmap = level.secretmap;
|
||||
MapData * map = P_OpenMapData(level.secretmap);
|
||||
if (map != NULL)
|
||||
{
|
||||
delete map;
|
||||
nextmap = level.secretmap;
|
||||
}
|
||||
}
|
||||
else
|
||||
nextmap = level.nextmap;
|
||||
|
||||
G_ChangeLevel(nextmap, position, false);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue