- Fixed: The border definition in MAPINFO's gameinfo block used extra braces.

SVN r1703 (trunk)
This commit is contained in:
Randy Heit 2009-07-04 01:15:38 +00:00
parent 4a4dadfec6
commit 29b1864da0
2 changed files with 4 additions and 3 deletions

View file

@ -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

View file

@ -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.