misc_gui.c
changeset 1794 44f9deff97ed
parent 1784 6eb3ab1bc33c
child 1796 cae31916ae54
--- a/misc_gui.c	Thu May 12 00:11:37 2005 +0000
+++ b/misc_gui.c	Thu May 12 00:18:30 2005 +0000
@@ -1480,8 +1480,8 @@
 			break;
 
 		case 6: /* Click the listbox */
-			if(e->click.pt.y < list_start)
-				DoCommandP(0, Random(), InteractiveRandom(), NULL, CMD_GEN_RANDOM_NEW_GAME);
+			if (e->click.pt.y < list_start)
+				GenRandomNewGame(Random(), InteractiveRandom());
 			else {
 				char *name;
 				int y = (e->click.pt.y - list_start) / 10;