aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPilzAdam <PilzAdam@gmx.de>2013-01-03 16:15:46 +0100
committerPilzAdam <PilzAdam@gmx.de>2013-01-03 16:15:46 +0100
commitd2b1210376f6cc52fe031ac41d3bf54720ebd356 (patch)
treeacd7dd83b81dbc5808564d8a06455d559265ce83
parenta27cdf16f40e3a3f4772b944ead8f1e4e5618359 (diff)
downloadminetest-d2b1210376f6cc52fe031ac41d3bf54720ebd356.tar.gz
minetest-d2b1210376f6cc52fe031ac41d3bf54720ebd356.tar.bz2
minetest-d2b1210376f6cc52fe031ac41d3bf54720ebd356.zip
Adjust the maximum alpha of the red hurt screen
-rw-r--r--src/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 5a278a52e..42863ff37 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -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);