From 0cf4baa6224e8af71ef7491a530358cff23c16bc Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 31 Jan 2017 18:16:46 +1000 Subject: [PATCH] Give ballstealer a placeholder wr_reload function (should fix a crash) --- qcsrc/common/gamemodes/gamemode/nexball/nexball.qc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/qcsrc/common/gamemodes/gamemode/nexball/nexball.qc b/qcsrc/common/gamemodes/gamemode/nexball/nexball.qc index 0a9d2e4ba..3b77a84ea 100644 --- a/qcsrc/common/gamemodes/gamemode/nexball/nexball.qc +++ b/qcsrc/common/gamemodes/gamemode/nexball/nexball.qc @@ -910,6 +910,12 @@ METHOD(BallStealer, wr_setup, void(BallStealer this, entity actor, .entity weapo //weapon_setup(WEP_PORTO.m_id); } +METHOD(BallStealer, wr_reload, bool(BallStealer this, entity actor, .entity weaponentity)) +{ + TC(BallStealer, this); + return true; +} + METHOD(BallStealer, wr_checkammo1, bool(BallStealer this, entity actor, .entity weaponentity)) { TC(BallStealer, this); -- 2.39.2