
Way too expensive ;)
Moderator: OpenTTD Developers
Please add a savegame and file a bug report on SourceForge. Even though it might be easy to reproduce this bug, it still takes time to create a game that has the same bug in it. Therefore we can fix the bugs much faster if we already have a savegame we can use to fix it.
"There's a readme that comes with the source. I suggest you read it."
- Korenn
- Korenn
Seems quite simple to spot the 'source'
i have -3000€
i would get 128€ for delete a sign i placed
and i guess its a simple math that checks if i can pay an action
if (money - price to build/bulldoze) >= 0
i. E. -3000 - -128 = -2872
which is (still) negative so i can't afford that action
i have -3000€
i would get 128€ for delete a sign i placed
and i guess its a simple math that checks if i can pay an action
if (money - price to build/bulldoze) >= 0
i. E. -3000 - -128 = -2872
which is (still) negative so i can't afford that action
- Attachments
-
- blubb.sav
- an simple example savegame
- (71.55 KiB) Downloaded 263 times
Code: Select all
If (cost <= current_money || cost <= 0)
able_to_build = true
Who is online
Users browsing this forum: No registered users and 14 guests