X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Ftests.qc;h=50dc5a35bca7cd130b7732fe141819539bc64e01;hb=63de1215428d078d5fb2021c49edf59a7900cef9;hp=96674db702943a933786ca954c4ec20498839ae8;hpb=51c4ab5336d3887b618c13e5f566cf19636af951;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/tests.qc b/qcsrc/server/tests.qc index 96674db70..50dc5a35b 100644 --- a/qcsrc/server/tests.qc +++ b/qcsrc/server/tests.qc @@ -26,7 +26,7 @@ TEST(Weapons, Hurt) it.items |= IT_UNLIMITED_AMMO; Weapon wep = WEP_VORTEX; W_GiveWeapon(it, wep.m_id); - W_SwitchWeapon_Force(it, wep); + W_SwitchWeapon_Force(it, wep, weaponentities[0]); it = b; PHYS_INPUT_BUTTON_JUMP(it) = true;