DEADSOFTWARE

fixed texture trigger bug
[d2df-sdl.git] / src / game / g_netmsg.pas
index 29e9223af93c0994aa62eab83b0b70c4a03893a7..ce4238a69d454b185a3fc0f57a08ec292a865e30 100644 (file)
@@ -644,7 +644,7 @@ procedure MH_SEND_Everything(CreatePlayers: Boolean = False; ID: Integer = NET_E
   begin
     result := false; // don't stop
     MH_SEND_PanelState(pan.guid, ID); // anyway, to sync mplats
-    if (pan.GetTextureCount > 1) then MH_SEND_PanelTexture(pan.guid, pan.LastAnimLoop, ID);
+    if (pan.CanChangeTexture) then MH_SEND_PanelTexture(pan.guid, pan.LastAnimLoop, ID);
   end;
 
 var