]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Give ballstealer a placeholder wr_reload function (should fix a crash)
authorMario <mario@smbclan.net>
Tue, 31 Jan 2017 08:16:46 +0000 (18:16 +1000)
committerMario <mario@smbclan.net>
Tue, 31 Jan 2017 08:16:46 +0000 (18:16 +1000)
qcsrc/common/gamemodes/gamemode/nexball/nexball.qc

index 0a9d2e4ba5c3e53c54610564031d1a8c507aaf41..3b77a84ea413732e66192cd4d4b41e7c0d43c08d 100644 (file)
@@ -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);