Adjust the maximum alpha of the red hurt screen
authorPilzAdam <PilzAdam@gmx.de>
Thu, 3 Jan 2013 15:15:46 +0000 (16:15 +0100)
committerPilzAdam <PilzAdam@gmx.de>
Thu, 3 Jan 2013 15:15:46 +0000 (16:15 +0100)
src/game.cpp

index 5a278a52e74f8a21d94e5e514015fadf9788bd79..42863ff3749a5c067193a434d91505d9a4359e54 100644 (file)
@@ -3062,7 +3062,7 @@ void the_game(
                */
                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,
                                        core::rect<s32>(0,0,screensize.X,screensize.Y),
                                        NULL);