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:07 -08:00
parent 80ce0256cb
commit 4c10905ef2
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) {
@ -147,5 +147,8 @@ ClientGame_EventParse(float fHeader)
HUD_WeaponPickupNotify(w); HUD_WeaponPickupNotify(w);
break; break;
default:
return (0);
} }
return (1);
} }