]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix some comments
authorterencehill <piuntn@gmail.com>
Mon, 13 May 2019 00:41:38 +0000 (02:41 +0200)
committerterencehill <piuntn@gmail.com>
Mon, 13 May 2019 00:41:38 +0000 (02:41 +0200)
qcsrc/common/turrets/turret.qh
qcsrc/common/weapons/weapon.qh

index aa5a50c9e67dd6d8b8e55953d55b7cde0372b3a1..d46d54f58c8f456d8281a8605cf7a7ec45ec6de2 100644 (file)
@@ -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:
index c4f16cd2139ab03ff633a8f9ebc33a3f55365095..a2623ca201b6c6444c534d937961b61e68b427f4 100644 (file)
@@ -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)) {}