Skip to content

Commit

Permalink
libdoomsday|DEDParser: Accept "Info" in Flag as a known label
Browse files Browse the repository at this point in the history
The value is ignored, though.
  • Loading branch information
skyjake committed May 6, 2014
1 parent d7ff0e3 commit d4b26f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doomsday/libdoomsday/src/defs/dedparser.cpp
Expand Up @@ -823,6 +823,7 @@ DENG2_PIMPL(DEDParser)

if(ISTOKEN("Flag"))
{
char dummyStr[2];
// A new flag.
idx = DED_AddFlag(ded, "", 0);
FINDBEGIN;
Expand All @@ -831,6 +832,7 @@ DENG2_PIMPL(DEDParser)
READLABEL;
RV_STR("ID", ded->flags[idx].id)
RV_UINT("Value", ded->flags[idx].value)
RV_STR("Info", dummyStr) // ignored
RV_END
CHECKSC;
}
Expand Down

0 comments on commit d4b26f8

Please sign in to comment.