mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-02-17 01:22:18 +00:00
ACS parser: fixed a bug that prevented scripts from being recognized when the previous line ended with an empty line comment
This commit is contained in:
parent
ee6aad4150
commit
0fc2296ce9
1 changed files with 1 additions and 1 deletions
|
@ -252,7 +252,7 @@ namespace CodeImp.DoomBuilder.ZDoom
|
|||
if(skipeditorcomments || c3 != '$') //mxd. Added skipeditorcomments
|
||||
{
|
||||
// Skip entire line
|
||||
char c4 = ' ';
|
||||
char c4 = c3;
|
||||
while((c4 != '\n') && (datastream.Position < datastream.Length)) { c4 = (char)datareader.ReadByte(); }
|
||||
c = c4;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue