mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-15 16:51:31 +00:00
- Fixed: The border definition in MAPINFO's gameinfo block used extra braces.
SVN r1703 (trunk)
This commit is contained in:
parent
4a4dadfec6
commit
29b1864da0
2 changed files with 4 additions and 3 deletions
|
@ -1,4 +1,7 @@
|
|||
June 30, 2009
|
||||
July 3, 2009
|
||||
- Fixed: The border definition in MAPINFO's gameinfo block used extra braces.
|
||||
|
||||
June 30, 2009
|
||||
- Added A_SetCrosshair.
|
||||
- Added A_WeaponBob.
|
||||
- Dropped the Hexen player classes' JumpZ down to 9, since the original value
|
||||
|
|
|
@ -215,7 +215,6 @@ void FMapInfoParser::ParseGameInfo()
|
|||
{
|
||||
// border = {size, offset, tr, t, tl, r, l ,br, b, bl};
|
||||
char *graphics[8] = {DoomBorder.tr, DoomBorder.t, DoomBorder.tl, DoomBorder.r, DoomBorder.l, DoomBorder.br, DoomBorder.b, DoomBorder.bl};
|
||||
sc.MustGetToken('{');
|
||||
sc.MustGetToken(TK_IntConst);
|
||||
DoomBorder.offset = sc.Number;
|
||||
sc.MustGetToken(',');
|
||||
|
@ -232,7 +231,6 @@ void FMapInfoParser::ParseGameInfo()
|
|||
if(len < 8) // end with a null byte if the string is less than 8 chars.
|
||||
graphics[i][len] = 0;
|
||||
}
|
||||
sc.MustGetToken('}');
|
||||
}
|
||||
}
|
||||
// Insert valid keys here.
|
||||
|
|
Loading…
Reference in a new issue