Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 61072
Collapse All | Expand All

(-)deng-1.8.1/Src/r_world.c.orig (-2 / +2 lines)
Lines 1447-1459 Link Here
1447
	if(mapinfo)
1447
	if(mapinfo)
1448
	{
1448
	{
1449
		mapgravity = mapinfo->gravity * FRACUNIT;
1449
		mapgravity = mapinfo->gravity * FRACUNIT;
1450
		r_ambient = mapinfo->ambient * 255;
1450
		if (r_ambient<200) { r_ambient = 200; }
1451
	}
1451
	}
1452
	else
1452
	else
1453
	{
1453
	{
1454
		// No map info found, set some basic stuff.
1454
		// No map info found, set some basic stuff.
1455
		mapgravity = FRACUNIT;
1455
		mapgravity = FRACUNIT;
1456
		r_ambient = 0;
1456
		if (r_ambient<200) { r_ambient = 200; }
1457
	}
1457
	}
1458
1458
1459
	// Invalidate old cmds.
1459
	// Invalidate old cmds.

Return to bug 61072