summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2004-09-01 13:40:34 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2004-09-01 13:40:34 +0000
commitcd4c542d29edcfb68baa593bdb70a63e0c2b30f6 (patch)
treea55d77e1166446b50e031ac95980cfc85d61cf39 /games-fps/doomsday/files
parent~amd64 (Manifest recommit) (diff)
downloadgentoo-2-cd4c542d29edcfb68baa593bdb70a63e0c2b30f6.tar.gz
gentoo-2-cd4c542d29edcfb68baa593bdb70a63e0c2b30f6.tar.bz2
gentoo-2-cd4c542d29edcfb68baa593bdb70a63e0c2b30f6.zip
I forgot to add the patch.
Diffstat (limited to 'games-fps/doomsday/files')
-rw-r--r--games-fps/doomsday/files/1.8.1-ambient-light.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/games-fps/doomsday/files/1.8.1-ambient-light.patch b/games-fps/doomsday/files/1.8.1-ambient-light.patch
new file mode 100644
index 000000000000..01b6c45ef224
--- /dev/null
+++ b/games-fps/doomsday/files/1.8.1-ambient-light.patch
@@ -0,0 +1,18 @@
+--- deng-1.8.1/Src/r_world.c.orig 2004-06-28 00:26:38.000000000 +0530
++++ deng-1.8.1/Src/r_world.c 2004-08-21 01:21:25.000000000 +0530
+@@ -1447,13 +1447,13 @@
+ if(mapinfo)
+ {
+ mapgravity = mapinfo->gravity * FRACUNIT;
+- r_ambient = mapinfo->ambient * 255;
++ if (r_ambient<200) { r_ambient = 200; }
+ }
+ else
+ {
+ // No map info found, set some basic stuff.
+ mapgravity = FRACUNIT;
+- r_ambient = 0;
++ if (r_ambient<200) { r_ambient = 200; }
+ }
+
+ // Invalidate old cmds.