Skip to content

Commit

Permalink
Hexen|libcommon: Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Jul 3, 2012
1 parent 1ce804c commit b31d3da
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 24 deletions.
15 changes: 0 additions & 15 deletions doomsday/plugins/common/src/p_user.c
Expand Up @@ -1076,21 +1076,6 @@ void P_PlayerThinkMove(player_t *player)
{
playerNum = P_GetPlayerNum(player);

/*
if(player->class_ == PCLASS_FIGHTER)
{
// The first type should be blue, and the
// third should be the Fighter's original gold color.
if(playerNum == 0)
{
speedMo->flags |= 2 << MF_TRANSSHIFT;
}
else if(playerNum != 2)
{
speedMo->flags |= playerNum << MF_TRANSSHIFT;
}
}
else*/
if(playerNum)
{
// Set color translation bits for player sprites.
Expand Down
10 changes: 1 addition & 9 deletions doomsday/plugins/jhexen/src/st_stuff.c
Expand Up @@ -610,15 +610,7 @@ void SBarChain_Drawer(uiwidget_t* obj, const Point2Raw* offset)
}
else
{
pColor = cfg.playerColor[obj->player];

if(pClass == PCLASS_FIGHTER)
{
if(pColor == 0)
pColor = 2;
else if(pColor == 2)
pColor = 0;
}
pColor = players[obj->player].colorMap; // cfg.playerColor[obj->player];
}

if(!R_GetPatchInfo(pChain[pClass], &pChainInfo)) return;
Expand Down

0 comments on commit b31d3da

Please sign in to comment.