Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed Apr 30, 2013
1 parent f93a0aa commit 06cbfe8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
2 changes: 0 additions & 2 deletions doomsday/api/dd_share.h
Expand Up @@ -380,8 +380,6 @@ enum {
DMU_VERTEX0,
DMU_VERTEX1,

DMU_FRONT_SECTOR,
DMU_BACK_SECTOR,
DMU_FRONT,
DMU_BACK,
DMU_FLAGS,
Expand Down
6 changes: 1 addition & 5 deletions doomsday/client/src/map/hedge.cpp
Expand Up @@ -432,14 +432,10 @@ int HEdge::property(setargs_t &args) const
Line *lineAdr = d->lineSide? &d->lineSide->line() : 0;
DMU_GetValue(DMT_HEDGE_LINE, &lineAdr, &args, 0);
break; }
case DMU_FRONT_SECTOR: {
case DMU_SECTOR: {
Sector *sector = bspLeafSectorPtr();
DMU_GetValue(DMT_HEDGE_SECTOR, &sector, &args, 0);
break; }
case DMU_BACK_SECTOR: {
Sector *sector = _twin? _twin->bspLeafSectorPtr() : 0;
DMU_GetValue(DMT_HEDGE_SECTOR, &sector, &args, 0);
break; }
case DMU_ANGLE:
DMU_GetValue(DMT_HEDGE_ANGLE, &_angle, &args, 0);
break;
Expand Down
4 changes: 2 additions & 2 deletions doomsday/client/src/map/mapelement.cpp
Expand Up @@ -65,7 +65,7 @@ int MapElement::property(setargs_t &args) const
default:
/// @throw UnknownPropertyError The requested property is not readable.
throw UnknownPropertyError(QString("%1::property").arg(DMU_Str(_type)),
QString("Property '%1' is unknown/not readable").arg(DMU_Str(args.prop)));
QString("'%1' is unknown/not readable").arg(DMU_Str(args.prop)));
}

return false; // Continue iteration.
Expand All @@ -75,5 +75,5 @@ int MapElement::setProperty(setargs_t const &args)
{
/// @throw WritePropertyError The requested property is not writable.
throw WritePropertyError(QString("%1::setProperty").arg(DMU_Str(_type)),
QString("Property '%1' is unknown/not writable").arg(DMU_Str(args.prop)));
QString("'%1' is unknown/not writable").arg(DMU_Str(args.prop)));
}

0 comments on commit 06cbfe8

Please sign in to comment.