From: Mario Date: Tue, 31 Jan 2017 08:16:46 +0000 (+1000) Subject: Give ballstealer a placeholder wr_reload function (should fix a crash) X-Git-Tag: xonotic-v0.8.2~255 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0cf4baa6224e8af71ef7491a530358cff23c16bc;p=xonotic%2Fxonotic-data.pk3dir.git Give ballstealer a placeholder wr_reload function (should fix a crash) --- 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);