r2733
Crash when removing tunnel as public.
How to reproduce:
1. Load attached savegame
2. Change to public player
3. Select remove tool
4. Click on tunnel mouth
Quote
Message: karte_t::interactive_event(event_t &ev): calling a tool
Message: wkz_remover(): at 30,44
Message: wkz_remover_intern(): at (30,44,-2)
Message: top_win(): win=1 ins_win=4
Message: karte_t::interactive_event(event_t &ev): calling a tool
Message: wkz_remover(): at 42,52
Message: wkz_remover_intern(): at (42,52,-1)
Message: wkz_remover(): bound=0
Message: wkz_remover(): check tunnel/bridge
Message: wkz_remover(): removing tunnel from 42,52,-1
Message: grund_t::weg_entfernen(): this 05A29980
Message: grund_t::weg_entfernen(): weg 0586A1F8
Message: grund_t::weg_entfernen(): this 05A29E80
Message: grund_t::weg_entfernen(): weg 0230C7F8
FATAL ERROR: unknown
pure virtual function call
Aborting program execution ...
should work in 2742
Tested in r2742.
Thank you, but problem is not solved yet.
This tunnel is public and busstop is Trikky Transport.
So, you can remove this tunnel as human player.
How to reproduce the problem:
- Load attached savegame
- As human player, select remove roads tool
- Click on tunnel mouth and drag to the other end of tunnel mouth
Result:
Crash
Tested in r2748. Still crashed.
Solved in r2762. Thank you.