Applied a bug fix from khonkortisan regarding icon squashing in correlation with kart squashing

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9630 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
magned
2011-08-26 21:08:52 +00:00
parent b040fbf7a2
commit be0e6987db

View File

@@ -507,7 +507,7 @@ void RaceGUI::drawGlobalPlayerIcons(const KartIconDisplayInfo* info)
NULL, NULL, true);
}
if ((icon != NULL) && (kart->isSquashed()))
if ((icon != NULL) && (!kart->playingEmergencyAnimation()) && (kart->isSquashed()))
{
//syncs icon squash with kart squash
const core::rect<s32> destRect(core::position2d<s32>(x,y+w/4),