mirror of
https://github.com/minetest/minetest.git
synced 2024-11-23 16:13:46 +01:00
Adjust the maximum alpha of the red hurt screen
This commit is contained in:
parent
a27cdf16f4
commit
d2b1210376
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user