From b15d9356d8bcdeb5e8fb9c5686a91dba1a8a04cd Mon Sep 17 00:00:00 2001 From: auria Date: Sun, 29 Apr 2012 13:19:41 +0000 Subject: [PATCH] Attempt to fix case where driving on water is possible git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11174 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/graphics/material.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/graphics/material.cpp b/src/graphics/material.cpp index 1333a0647..420e25d32 100644 --- a/src/graphics/material.cpp +++ b/src/graphics/material.cpp @@ -334,6 +334,7 @@ Material::Material(const XMLNode *node, int index) if (crash_reset) { m_collision_reaction = RESCUE; + m_drive_reset = true; // if crash reset is enabled then drive reset should be too } std::string creaction;