hedgewars/uFLNetProtocol.pas
branchqmlfrontend
changeset 11460 9f2fb0031ef0
parent 11454 3c5d99013baf
child 11462 33a0e3a14ddc
--- a/hedgewars/uFLNetProtocol.pas	Thu Dec 17 00:51:20 2015 +0300
+++ b/hedgewars/uFLNetProtocol.pas	Sun Dec 20 12:45:49 2015 +0300
@@ -327,7 +327,7 @@
     while i < l do
     begin
         s:= DecodeBase64(copy(p.str1, i, 240));
-        ipcToEngineRaw(@s[0], byte(s[0]));
+        ipcToEngineRaw(@s[1], byte(s[0]));
         inc(i, 160)
     end;
 end;
@@ -495,10 +495,8 @@
 end;
 
 procedure handler_RUN_GAME(var p: TCmdParam);
-var e: TFLIBEvent;
 begin
-    e:= flibRunNetGame;
-    sendUI(mtFlibEvent, @e, sizeof(e));
+    runNetGame
 end;
 
 procedure handler_SERVER_AUTH(var p: TCmdParamS);