Increase limit on the length of the "Who Wrote" lines in scenario details
This commit is contained in:
@@ -44,7 +44,7 @@ combined. Only give an item a type flag greater than 100 ... smaller type flags
|
||||
reserved for the preset items.</li>
|
||||
<li><b>Value:</b> The value of the item in gold.</li>
|
||||
<li><b>Weight:</b> The weight of the item.</li>
|
||||
<li><b>Special Class (Advanced):<b> Some special nodes (like Have Item With Class?) check
|
||||
<li><b>Special Class (Advanced):</b> Some special nodes (like Have Item With Class?) check
|
||||
to see if the party has a special item. Set an item's special class here (0 for no special
|
||||
class).
|
||||
<p>For example, an item Boat Ticket can have special class 1, and a special node
|
||||
|
||||
@@ -2688,8 +2688,8 @@ static bool save_scen_details(cDialog& me, std::string, eKeyMod) {
|
||||
scenario.adjust_diff = dynamic_cast<cLed&>(me["adjust"]).getState() != led_red;
|
||||
for(i = 0; i < 3; i++)
|
||||
scenario.format.ver[i] = me["ver" + std::to_string(i + 1)].getTextAsNum();
|
||||
scenario.who_wrote[0] = me["who1"].getText().substr(0, 60);
|
||||
scenario.who_wrote[1] = me["who2"].getText().substr(0, 60);
|
||||
scenario.who_wrote[0] = me["who1"].getText().substr(0, 100);
|
||||
scenario.who_wrote[1] = me["who2"].getText().substr(0, 100);
|
||||
scenario.contact_info = me["contact"].getText().substr(0, 256);
|
||||
scenario.campaign_id = me["cpnid"].getText();
|
||||
scenario.bg_out = boost::lexical_cast<int>(me["bg-out"].getText().substr(10));
|
||||
|
||||
Reference in New Issue
Block a user