~widelands-dev/widelands/trunk

« back to all changes in this revision

Viewing changes to src/logic/building.cc

  • Committer: fios at foramnagaidhlig
  • Date: 2014-07-29 22:01:31 UTC
  • mto: This revision was merged to the branch mainline in revision 7161.
  • Revision ID: fios@foramnagaidhlig.net-20140729220131-1syk3u5esbep57if
Changed ProductionSite char m_result_buffer[213] to private std::string          m_production_result and added getter/setters

Show diffs side-by-side

added added

removed removed

Lines of Context:
549
549
                                break;
550
550
                        case 'r':
551
551
                                if (upcast(ProductionSite const, productionsite, this))
552
 
                                        result << productionsite->result_string();
 
552
                                        result << productionsite->production_result();
553
553
                                break;
554
554
                        default: //  invalid format sequence
555
555
                                result << '%' << *format_iter;