DEADSOFTWARE

fmod -> sdl2 mixer, first part: we have music now; still no advanced stuff
[d2df-sdl.git] / src / game / g_netmsg.pas
index 27b8081f4733b7aa68efc041860a2e40ba38772f..a88513acac78c6a4f5bcb799c91af45f2588e739 100644 (file)
@@ -423,7 +423,7 @@ var
 begin
   Result := 0;
   if not gGameOn then Exit;
-  
+
   GT := e_Raw_Read_LongWord(P);
   PID := C^.Player;
   Pl := g_Player_Get(PID);
@@ -566,7 +566,7 @@ begin
   Pl := g_Player_Get(C^.Player);
   if Pl = nil then Exit;
   Name := Pl.Name;
-    
+
   if Start then
   begin
     if not g_Console_CommandBlacklisted(Command) then
@@ -1624,6 +1624,7 @@ var
   pln: String;
   cnt: Byte;
 begin
+  FillChar(EvHash, Sizeof(EvHash), 0);
   EvType := e_Raw_Read_Byte(P);
   EvNum := e_Raw_Read_LongInt(P);
   EvStr := e_Raw_Read_String(P);