Chdata / Versus-Saxton-Hale

The presuccessor of FF2(FF2 is the successor of VSH)
GNU General Public License v3.0
11 stars 6 forks source link

Future-Proof Rifles #20

Open Starblaster64 opened 8 years ago

Starblaster64 commented 8 years ago

Future proofs stock rifles, and removes TFCond_CritHype from the minicrit damage check.

EDIT: I've been informed that GetEdictClassname on line 5635 is returning an Invalid Edict (-1 - -1) in some scenarios. The obvious solution is adding a check to see if it's valid before doing anything else.

Chdata commented 8 years ago

Actually if I know it's only -1 that makes error, I check != -1.

Starblaster64 commented 8 years ago

Good point

shadow93 commented 8 years ago

Though you can just always IsValidEntity check it and avoid the whole thing derping.