Skip to content

Commit

Permalink
Models|Fixed: Submodel alpha with the "brightshadow" flag
Browse files Browse the repository at this point in the history
The MFF_BRIGHTSHADOW flag was also setting the submodel alpha incorrectly.
  • Loading branch information
skyjake committed Mar 14, 2012
1 parent 1f5c59c commit 55b8909
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/engine/portable/src/r_model.c
Expand Up @@ -1029,7 +1029,7 @@ static void setupModel(ded_model_t* def)
// Flags may override alpha and/or blendmode.
if(sub->flags & MFF_BRIGHTSHADOW)
{
sub->alpha = .80f;
sub->alpha = (byte)(256 * .80f);
sub->blendMode = BM_ADD;
}
else if(sub->flags & MFF_BRIGHTSHADOW2)
Expand Down

0 comments on commit 55b8909

Please sign in to comment.