mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 20:21:26 +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_SetCrosshair.
|
||||||
- Added A_WeaponBob.
|
- Added A_WeaponBob.
|
||||||
- Dropped the Hexen player classes' JumpZ down to 9, since the original value
|
- 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};
|
// 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};
|
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);
|
sc.MustGetToken(TK_IntConst);
|
||||||
DoomBorder.offset = sc.Number;
|
DoomBorder.offset = sc.Number;
|
||||||
sc.MustGetToken(',');
|
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.
|
if(len < 8) // end with a null byte if the string is less than 8 chars.
|
||||||
graphics[i][len] = 0;
|
graphics[i][len] = 0;
|
||||||
}
|
}
|
||||||
sc.MustGetToken('}');
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Insert valid keys here.
|
// Insert valid keys here.
|
||||||
|
|
Loading…
Reference in a new issue