Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenTTD crash with company switching cheat #4654

Closed
DorpsGek opened this issue Jun 22, 2011 · 2 comments
Closed

OpenTTD crash with company switching cheat #4654

DorpsGek opened this issue Jun 22, 2011 · 2 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

Brumi opened the ticket and wrote:

Steps to reproduce:

  1. Start an AI.
  2. Switch to the AI's company using the company switching cheat.
  3. Stop the AI using the 'stop_ai' command.
  4. Click to open the road construction toolbar.
    OpenTTD crashes after this. Rail construction and airport construction are greyed out, waterways construction isn't, but at least it doesn't crash the game.

Attachments

Reported version: trunk
Operating system: Windows


This issue was imported from FlySpray: https://bugs.openttd.org/task/4654
@DorpsGek
Copy link
Member Author

Terkhen wrote:

openttd.exe!ToolbarBuildRoadClick(Window * w) Línea 723 + 0xf Bytes C++
openttd.exe!MainToolbarWindow::OnClick(Point pt, int widget, int click_count) Línea 1393 + 0x25 Bytes C++
openttd.exe!DispatchLeftClickEvent(Window * w, int x, int y, int click_count) Línea 386 + 0x11 Bytes C++
openttd.exe!MouseLoop(MouseClick click, int mousewheel) Línea 2242 C++
openttd.exe!HandleMouseEvents() Línea 2324 C++
openttd.exe!WndProcGdi(HWND__ * hwnd, unsigned int msg, unsigned int wParam, long lParam) Línea 403 C++
openttd.exe!VideoDriver_Win32::MainLoop() Línea 853 C++
openttd.exe!convert_from_fs(const wchar_t * name, char * utf8_buf, unsigned int buflen) Línea 661 C++
openttd.exe!WinMain(HINSTANCE__ * hInstance, HINSTANCE__ * hPrevInstance, char * lpCmdLine, int nCmdShow) Línea 443 + 0x9 Bytes C++


This comment was imported from FlySpray: https://bugs.openttd.org/task/4654#comment10019

@DorpsGek
Copy link
Member Author

DorpsGek commented Jul 2, 2011

frosch closed the ticket.

Reason for closing: Fixed

in r22624


This comment was imported from FlySpray: https://bugs.openttd.org/task/4654

@DorpsGek DorpsGek closed this as completed Jul 2, 2011
@DorpsGek DorpsGek added Core flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant