~ubuntu-branches/ubuntu/raring/simutrans/raring-proposed

« back to all changes in this revision

Viewing changes to dings/field.cc

  • Committer: Package Import Robot
  • Author(s): Ansgar Burchardt
  • Date: 2011-11-03 19:59:02 UTC
  • mfrom: (1.2.7)
  • Revision ID: package-import@ubuntu.com-20111103195902-uopgwf488mfctb75
Tags: 111.0-1
* New upstream release.
* debian/rules: Update get-orig-source target for new upstream release.
* Use xz compression for source and binary packages.
* Use override_* targets to simplify debian/rules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
// remove costs
50
50
void field_t::entferne(spieler_t *sp)
51
51
{
52
 
        spieler_t::accounting( sp, welt->get_einstellungen()->cst_multiply_remove_field, get_pos().get_2d(), COST_CONSTRUCTION);
 
52
        spieler_t::accounting(sp, welt->get_settings().cst_multiply_remove_field, get_pos().get_2d(), COST_CONSTRUCTION);
53
53
        mark_image_dirty( get_bild(), 0 );
54
54
}
55
55
 
56
56
 
57
57
 
58
58
// return the  right month graphic for factories
59
 
image_id
60
 
field_t::get_bild() const
 
59
image_id field_t::get_bild() const
61
60
{
62
61
        const skin_besch_t *s=besch->get_bilder();
63
62
        uint16 anzahl=s->get_bild_anzahl() - besch->has_snow_image();