From 29b1864da007dce7da578f6c42664c6581d4382b Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Sat, 4 Jul 2009 01:15:38 +0000 Subject: [PATCH] - Fixed: The border definition in MAPINFO's gameinfo block used extra braces. SVN r1703 (trunk) --- docs/rh-log.txt | 5 ++++- src/gi.cpp | 2 -- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/rh-log.txt b/docs/rh-log.txt index af550ecfc..f28f20dd4 100644 --- a/docs/rh-log.txt +++ b/docs/rh-log.txt @@ -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 diff --git a/src/gi.cpp b/src/gi.cpp index 668a55b7e..42b0dd34f 100644 --- a/src/gi.cpp +++ b/src/gi.cpp @@ -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.