Use the correct vertex color for rubber band

This commit is contained in:
Benau 2018-02-01 11:28:38 +08:00
parent e06fabde96
commit baff519a21

View File

@ -51,7 +51,7 @@ RubberBand::RubberBand(Plunger *plunger, AbstractKart *kart)
{
return;
}
video::SColor color(77, 179, 0, 0);
video::SColor color(255, 179, 0, 0);
if (CVS->isDeferredEnabled())
{
color.setRed(SP::srgb255ToLinear(color.getRed()));