Adjust the maximum alpha of the red hurt screen

This commit is contained in:
PilzAdam 2013-01-03 16:15:46 +01:00
parent a27cdf16f4
commit d2b1210376

@ -3062,7 +3062,7 @@ void the_game(
*/ */
if(damage_flash > 0.0) if(damage_flash > 0.0)
{ {
video::SColor color(std::min(damage_flash, 220.0f),180,0,0); video::SColor color(std::min(damage_flash, 180.0f),180,0,0);
driver->draw2DRectangle(color, driver->draw2DRectangle(color,
core::rect<s32>(0,0,screensize.X,screensize.Y), core::rect<s32>(0,0,screensize.X,screensize.Y),
NULL); NULL);