changeset 1791 | 7c9d645d2591 |
parent 1784 | dfe9bafb4590 |
child 1807 | 795f97007833 |
--- a/hedgewars/hwengine.dpr Sat Feb 14 16:24:20 2009 +0000 +++ b/hedgewars/hwengine.dpr Sat Feb 14 16:25:58 2009 +0000 @@ -270,6 +270,7 @@ ///////////////////////// procedure GenLandPreview; var Preview: TPreview; + h: byte; begin InitIPC; IPCWaitPongEvent; @@ -280,6 +281,8 @@ Preview:= GenPreview; WriteLnToConsole('Sending preview...'); SendIPCRaw(@Preview, sizeof(Preview)); +h:= MaxHedgehogs; +SendIPCRaw(@h, sizeof(h)); WriteLnToConsole('Preview sent, disconnect'); CloseIPC end;