(svn r10265) -Feature: allow double-clicking on certain places: build-vehicle and town-action

This commit is contained in:
truelight
2007-06-22 10:57:53 +00:00
parent 38da76acb7
commit 6159f58948
4 changed files with 53 additions and 13 deletions

View File

@@ -183,6 +183,10 @@ static void TownAuthorityWndProc(Window *w, WindowEvent *e)
} break;
case WE_DOUBLE_CLICK:
e->we.click.widget = 6;
/* Fall through */
case WE_CLICK:
switch (e->we.click.widget) {
case 3: { /* listbox */