From 5f9f3f674ad1b0dac77d9c706ba1cdee808b76f8 Mon Sep 17 00:00:00 2001 From: Cekis Date: Mon, 7 Dec 2015 04:57:02 +0100 Subject: [PATCH] Killed off Godzilla-ness --- .../src/shared/core/CustomizationManager_MorphParameter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/shared/library/sharedGame/src/shared/core/CustomizationManager_MorphParameter.cpp b/engine/shared/library/sharedGame/src/shared/core/CustomizationManager_MorphParameter.cpp index 620bd07e..5ccfcc55 100755 --- a/engine/shared/library/sharedGame/src/shared/core/CustomizationManager_MorphParameter.cpp +++ b/engine/shared/library/sharedGame/src/shared/core/CustomizationManager_MorphParameter.cpp @@ -223,7 +223,7 @@ float CustomizationManager::MorphParameter::normalizeScale (Object const & obj, float CustomizationManager::MorphParameter::denormalizeScale (SharedObjectTemplate const * const tmpl, float const normalizedValue) { - if (tmpl) + if (tmpl && normalizedValue <= 1.0f) // Cekis: Godzilla must die! { float const scaleMax = tmpl->getScaleMax (); float const scaleMin = tmpl->getScaleMin ();