summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index d1d224aa7..4497ef54f 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -5355,17 +5355,15 @@ static void pc_autocast_clear_current(struct map_session_data *sd)
/**
* Unsets a character's auto-cast related data.
*
- * @param sd The character's session data.
- * @return 0 if parameter sd is NULL, otherwise 1.
- */
-static int pc_autocast_clear(struct map_session_data *sd)
+ * @param sd The character.
+ *
+ **/
+static void pc_autocast_clear(struct map_session_data *sd)
{
- nullpo_ret(sd);
+ nullpo_retv(sd);
pc->autocast_clear_current(sd);
VECTOR_TRUNCATE(sd->auto_cast); // Truncate auto-cast vector.
-
- return 1;
}
/**