changeset 7051 | db17476d7a37 |
parent 7049 | 35d762458d66 |
child 7054 | 7e8fb07ef91c |
--- a/hedgewars/hwengine.pas Fri May 11 00:11:01 2012 +0200 +++ b/hedgewars/hwengine.pas Fri May 11 11:08:50 2012 -0400 @@ -481,7 +481,7 @@ IPCWaitPongEvent; TryDo(InitStepsFlags = cifRandomize, 'Some parameters not set (flags = ' + inttostr(InitStepsFlags) + ')', true); - Preview:= GenPreview(); + GenPreview(Preview); WriteLnToConsole('Sending preview...'); SendIPCRaw(@Preview, sizeof(Preview)); SendIPCRaw(@MaxHedgehogs, sizeof(byte));