ClientGame_EventParse() now has returns either 0 or 1 to signal successful overrides.

This commit is contained in:
Marco Cawthorne 2022-03-03 14:11:27 -08:00
parent 8b55c8acef
commit 27c69ffecc
Signed by: eukara
GPG key ID: C196CD8BA993248A

View file

@ -14,7 +14,7 @@
* OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
void int
ClientGame_EventParse(float fHeader) ClientGame_EventParse(float fHeader)
{ {
switch (fHeader) { switch (fHeader) {
@ -120,5 +120,9 @@ ClientGame_EventParse(float fHeader)
HUD_WeaponPickupNotify(w); HUD_WeaponPickupNotify(w);
break; break;
default:
return (0);
} }
return (1);
} }