Jeck - fix for issue 317.
This commit is contained in:
@@ -146,7 +146,7 @@ string GameStateShop::descPurchase(int controlId, bool tiny){
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(tiny){
|
if(tiny){
|
||||||
if(controlId < BOOSTER_SLOTS)
|
if(controlId < BOOSTER_SLOTS || mCounts[controlId] == 0)
|
||||||
return name;
|
return name;
|
||||||
|
|
||||||
sprintf(buffer,_("%s (%i)").c_str(),name.c_str(),mCounts[controlId]);
|
sprintf(buffer,_("%s (%i)").c_str(),name.c_str(),mCounts[controlId]);
|
||||||
|
|||||||
Reference in New Issue
Block a user