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:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user