Skip to content

Commit

Permalink
cmdcraft: fix tailoring crash (#656)
Browse files Browse the repository at this point in the history
Mark sewing threat as secondary material
  • Loading branch information
bkoropoff authored Dec 11, 2024
1 parent 2a00e54 commit 9fa78a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Main/Source/cmdcraft.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2658,6 +2658,7 @@ struct srpForgeItem : public recipe{
CISW.bMainMaterRemainsBecomeLump=true;
CISW.bMixRemainingLump = false;
CISW.iReqMatCfgMain=SPIDER_SILK;
CISW.bIsMainIngredient = false;
if(!choseIngredients<lump>(cfestring("as sewing material"),lVolSewing,rpd,iSCfg,CISW)){ //TODO instead of <lump> should be <sewingthread> with new graphics
ADD_MESSAGE("You don't have enough sewing thread...");
rpd.SetAlreadyExplained();
Expand Down

0 comments on commit 9fa78a2

Please sign in to comment.