Преглед изворни кода

Atcommand missing doc

Run tool/check_doc.pl and add missing documentation for atcommand
@changecharsex (that one seem tohave been forgetten)
lighta пре 9 година
родитељ
комит
bdd6ea6cd0
2 измењених фајлова са 10 додато и 4 уклоњено
  1. 6 0
      doc/atcommands.txt
  2. 4 4
      src/map/atcommand.c

+ 6 - 0
doc/atcommands.txt

@@ -1151,6 +1151,12 @@ Changes the gender attached to the player's account.
 
 ---------------------------------------
 
+@changecharsex
+
+Changes the gender attached to the player's character.
+
+---------------------------------------
+
 @marry <player 1> <player 2>
 @divorce <player>
 

+ 4 - 4
src/map/atcommand.c

@@ -6776,8 +6776,8 @@ ACMD_FUNC(uptime)
 }
 
 /*==========================================
- * @changesex <sex>
- * => Changes one's account sex. Argument sex can be 0 or 1, m or f, male or female.
+ * @changesex 
+ * => Changes one's account sex. Switch from male to female or visversa
  *------------------------------------------*/
 ACMD_FUNC(changesex)
 {
@@ -6797,8 +6797,8 @@ ACMD_FUNC(changesex)
 }
 
 /*==========================================
- * @changecharsex <sex>
- * => Changes one's character sex. Argument sex can be 0 or 1, m or f, male or female.
+ * @changecharsex
+ * => Changes one's character sex. Switch from male to female or visversa.
  *------------------------------------------*/
 ACMD_FUNC(changecharsex)
 {