summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2008-06-05 18:41:39 +0000
committerPhilipp Sehmisch <tmw@crushnet.org>2008-06-05 18:41:39 +0000
commit0dd4c03506132c5f4a7104152d8675d6990ba81b (patch)
tree1cecf54e8703e1b36629b0ba7c8ff9af4766837d
parent9f35cb7602c55d43ab598145cfcd0703ec1c5059 (diff)
downloadmana-0dd4c03506132c5f4a7104152d8675d6990ba81b.tar.gz
mana-0dd4c03506132c5f4a7104152d8675d6990ba81b.tar.bz2
mana-0dd4c03506132c5f4a7104152d8675d6990ba81b.tar.xz
mana-0dd4c03506132c5f4a7104152d8675d6990ba81b.zip
Lowered default particle detail level.
-rw-r--r--ChangeLog5
-rw-r--r--src/gui/setup_video.cpp2
-rw-r--r--src/particle.cpp2
3 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 58dceb78..943b7f84 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-06-05 Philipp Sehmisch <tmw@crushnet.org>
+
+ * src/particle.cpp, src/gui/setup_video.cpp: Lowered default particle
+ detail level.
+
2008-06-05 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/updatewindow.cpp, src/gui/updatewindow.h, src/main.cpp,
diff --git a/src/gui/setup_video.cpp b/src/gui/setup_video.cpp
index 33d9ad73..97e4cdd6 100644
--- a/src/gui/setup_video.cpp
+++ b/src/gui/setup_video.cpp
@@ -126,7 +126,7 @@ Setup_Video::Setup_Video():
mOverlayDetail((int) config.getValue("OverlayDetail", 2)),
mOverlayDetailSlider(new Slider(0, 2)),
mOverlayDetailField(new gcn::Label("")),
- mParticleDetail(3 - (int) config.getValue("particleEmitterSkip", 0)),
+ mParticleDetail(3 - (int) config.getValue("particleEmitterSkip", 1)),
mParticleDetailSlider(new Slider(0, 3)),
mParticleDetailField(new gcn::Label(""))
{
diff --git a/src/particle.cpp b/src/particle.cpp
index 355b7069..ac40fe1a 100644
--- a/src/particle.cpp
+++ b/src/particle.cpp
@@ -77,7 +77,7 @@ Particle::setupEngine()
{
Particle::maxCount = (int)config.getValue("particleMaxCount", 3000);
Particle::fastPhysics = (int)config.getValue("particleFastPhysics", 0);
- Particle::emitterSkip = (int)config.getValue("particleEmitterSkip", 0) + 1;
+ Particle::emitterSkip = (int)config.getValue("particleEmitterSkip", 1) + 1;
disableAutoDelete();
logger->log("Particle engine set up");
}