Sphereserver / Source

http://spherecommunity.net
Apache License 2.0
107 stars 58 forks source link

TDATA3=0 in ranged weapons not work #123

Closed Seokotov closed 6 years ago

Seokotov commented 6 years ago

trying to make bow that can shoot without arrows TDATA3=0 not work in latest sphere

coruja747 commented 6 years ago

this is not really an bug, since the source is intended to always use ammo on t_weapon_bow weapons, the only exception is throwing weapons because they just throw itself (like an boomerang) instead use ammo

anyway I will take a better look later, it will be interesting make TDATA3=0 ignore ammo checks on ranged weapons

Seokotov commented 6 years ago

it work fine in old spheres and in source2 :)

coruja747 commented 6 years ago

try using latest build https://github.com/Sphereserver/Source/commit/953b4ca20272dc9e5f405fe4da467f8c864e99bc, I did some changes that maybe will do the trick

Seokotov commented 6 years ago

yes! now it work! Thnx