News:

Do you need help?
Simutrans Wiki Manual can help you to play and extend Simutrans. In 9 languages.

[solved] - Tooltips: cost of extension building should be cst_multiply_post

Started by z9999, December 04, 2008, 05:10:54 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


Warning: fopen(/home/sforum/public_html/attachments/1605_e4d8a38f7adc85de3ed23ca62ad05cbab1057df8.dat_thumb.tmp): Failed to open stream: Permission denied in /home/sforum/public_html/Sources/Subs-Graphics.php on line 336

z9999

simutrans v100.0 & r2153

On the toolbar tooltips, cost of extension buildings show cost of generic_stop.
It should be cst_multiply_post.

A patch attached.

COST_CONSTRUCTION in wkz_station_building_aux

sp->buche(umgebung_t::cst_multiply_post*besch->gib_level()*besch->gib_b()*besch->gib_h(), pos, COST_CONSTRUCTION);




[edit]
One more problem, cost of airstop is not cst_multiply_airterminal but cst_multiply_station.
updated patch.

prissi