diff options
author | Dave Parks <davep@lindenlab.com> | 2012-06-28 16:32:54 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2012-06-28 16:32:54 -0500 |
commit | bedbbf7c0201275e0a48a0cbbb2a567be4baab3d (patch) | |
tree | f11f9e612ab503e596073269c17c6e4cc1d3ae13 /indra/newview/llviewerpartsim.cpp | |
parent | 90547ff411db177bf6424ca553449a81a808fc0f (diff) | |
parent | f3afac420cd3c89eb396fb1f0b77ab4804212415 (diff) |
Merge
Diffstat (limited to 'indra/newview/llviewerpartsim.cpp')
-rw-r--r-- | indra/newview/llviewerpartsim.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewerpartsim.cpp b/indra/newview/llviewerpartsim.cpp index 6b3e04348a..345023dbfa 100644 --- a/indra/newview/llviewerpartsim.cpp +++ b/indra/newview/llviewerpartsim.cpp @@ -476,7 +476,7 @@ void LLViewerPartSim::checkParticleCount(U32 size) LLViewerPartSim::LLViewerPartSim() { LLMemType mt(LLMemType::MTYPE_PARTICLES); - sMaxParticleCount = gSavedSettings.getS32("RenderMaxPartCount"); + sMaxParticleCount = llmin(gSavedSettings.getS32("RenderMaxPartCount"), LL_MAX_PARTICLE_COUNT); static U32 id_seed = 0; mID = ++id_seed; } |