Skip to content

Commit

Permalink
Fixed|World|Line: Build error (unknown DMT_* names post cleanup)
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed Aug 8, 2013
1 parent 1a42090 commit 22ccbf5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion doomsday/api/api_map.h
Expand Up @@ -75,7 +75,7 @@

#define DMT_SIDE_SECTOR DDVT_PTR
#define DMT_SIDE_LINE DDVT_PTR
#define DMT_SIDE_FLAGS DDVT_SHORT
#define DMT_SIDE_FLAGS DDVT_INT

#define DMT_LINE_SECTOR DDVT_PTR
#define DMT_LINE_SIDE DDVT_PTR
Expand Down
8 changes: 4 additions & 4 deletions doomsday/client/src/world/line.cpp
Expand Up @@ -405,14 +405,14 @@ int Line::Side::property(DmuArgs &args) const
switch(args.prop)
{
case DMU_SECTOR:
args.setValue(DMT_LINESIDE_SECTOR, &d->sector, 0);
args.setValue(DMT_SIDE_SECTOR, &d->sector, 0);
break;
case DMU_LINE: {
Line *lineAdr = &line();
args.setValue(DMT_LINESIDE_LINE, &lineAdr, 0);
args.setValue(DMT_SIDE_LINE, &lineAdr, 0);
break; }
case DMU_FLAGS:
args.setValue(DMT_LINESIDE_FLAGS, &d->flags, 0);
args.setValue(DMT_SIDE_FLAGS, &d->flags, 0);
break;
default:
return MapElement::property(args);
Expand Down Expand Up @@ -450,7 +450,7 @@ int Line::Side::setProperty(DmuArgs const &args)

case DMU_FLAGS: {
int newFlags;
args.value(DMT_LINESIDE_FLAGS, &newFlags, 0);
args.value(DMT_SIDE_FLAGS, &newFlags, 0);
setFlags(newFlags, de::ReplaceFlags);
break; }

Expand Down

0 comments on commit 22ccbf5

Please sign in to comment.