Jeck - fix for issue 317.

This commit is contained in:
wagic.jeck
2010-02-10 14:50:01 +00:00
parent e59aca67b7
commit 3d6829a7d1
+2 -2
View File
@@ -146,9 +146,9 @@ string GameStateShop::descPurchase(int controlId, bool tiny){
}
if(tiny){
if(controlId < BOOSTER_SLOTS)
if(controlId < BOOSTER_SLOTS || mCounts[controlId] == 0)
return name;
sprintf(buffer,_("%s (%i)").c_str(),name.c_str(),mCounts[controlId]);
return buffer;
}