DEADSOFTWARE

Revert "network: server is weapon authority!"
[d2df-sdl.git] / src / game / g_netmsg.pas
index e9cc68c2ee55ac7fcb0067073ed725ecdedd6e9e..f235035fbda6d740146eb383d07d4e66e740948f 100644 (file)
@@ -464,7 +464,7 @@ begin
       writeln('HOST PLRPOS: got: currweap=', CurrWeap, '; curfrm=', gTime, '; netweap=', newweapon, '; oldweap=', CurrWeap);
 {$ENDIF}
       //NetForceWeap := newweapon;
-      SetWeaponHost(newweapon);
+      SetWeapon(newweapon);
     end;
     //e_WriteLog(Format('R:ws=%d', [WeaponSelect]), MSG_WARNING);
     if Direction <> TDirection(Dir) then
@@ -2150,7 +2150,7 @@ begin
     if (gTime >= NetForceWeapFIdx) then
     begin
       //NetForceWeap := newweapon;
-      SetWeaponHost(newweapon);
+      SetWeapon(newweapon);
     end;
     //SetWeapon(M.ReadByte());