From: terencehill Date: Mon, 13 May 2019 00:41:38 +0000 (+0200) Subject: Fix some comments X-Git-Tag: xonotic-v0.8.5~1497 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9eff37161c9b11fd5c2e80145b029d38df2bd40b;p=xonotic%2Fxonotic-data.pk3dir.git Fix some comments --- diff --git a/qcsrc/common/turrets/turret.qh b/qcsrc/common/turrets/turret.qh index aa5a50c9e..d46d54f58 100644 --- a/qcsrc/common/turrets/turret.qh +++ b/qcsrc/common/turrets/turret.qh @@ -50,10 +50,8 @@ CLASS(Turret, Object) w.wr_think(w, it, weaponentity, 1); } #endif - /** (ALL) */ - METHOD(Turret, tr_config, void(Turret this)) { - // TODO - } + /** (SERVER) dump turret cvars to config in data directory (see: sv_cmd dumpturrets) */ + METHOD(Turret, tr_config, void(Turret this)) { } ENDCLASS(Turret) // fields: diff --git a/qcsrc/common/weapons/weapon.qh b/qcsrc/common/weapons/weapon.qh index c4f16cd21..a2623ca20 100644 --- a/qcsrc/common/weapons/weapon.qh +++ b/qcsrc/common/weapons/weapon.qh @@ -99,7 +99,7 @@ CLASS(Weapon, Object) METHOD(Weapon, wr_playerdeath, void(Weapon this, entity actor, .entity weaponentity)) {} /** (SERVER) logic to run when weapon is lost */ METHOD(Weapon, wr_gonethink, void(Weapon this, entity actor, .entity weaponentity)) {} - /** (ALL) dump weapon cvars to config in data directory (see: sv_cmd dumpweapons) */ + /** (SERVER) dump weapon cvars to config in data directory (see: sv_cmd dumpweapons) */ METHOD(Weapon, wr_config, void(Weapon this)) {} /** (BOTH) weapon specific zoom reticle */ METHOD(Weapon, wr_zoom, bool(Weapon this, entity actor)) { @@ -110,7 +110,7 @@ CLASS(Weapon, Object) METHOD(Weapon, wr_zoomdir, bool(Weapon this)) {return false;} /** (CLIENT) weapon specific view model */ METHOD(Weapon, wr_viewmodel, string(Weapon this, entity wep)) { return string_null; } - /** (CLIENT) weapon specific glow */ + /** (BOTH) weapon specific glow */ METHOD(Weapon, wr_glow, vector(Weapon this, entity actor, entity wepent)) { return '0 0 0'; } /** (SERVER) the weapon is dropped */ METHOD(Weapon, wr_drop, void(Weapon this, entity actor, .entity weaponentity)) {}