Don't truncate special item names

This commit is contained in:
2015-06-24 11:21:45 -04:00
parent b30b2d3a58
commit f8697a943a

View File

@@ -1931,7 +1931,7 @@ static void put_spec_item_in_dlog(cDialog& me, cSpecItem& item, short which) {
}
static bool save_spec_item(cDialog& me, cSpecItem& item, short which) {
item.name = me["name"].getText().substr(0,25);
item.name = me["name"].getText();
item.descr = me["descr"].getText();
item.special = me["spec"].getTextAsNum();
item.flags = 0;