ClientGame_EventParse() now has returns either 0 or 1 to signal successful overrides.
This commit is contained in:
parent
80ce0256cb
commit
4c10905ef2
1 changed files with 4 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue