summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
Diffstat (limited to 'src/map')
-rw-r--r--src/map/map.h2
-rw-r--r--src/map/status.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/map/map.h b/src/map/map.h
index 9ca8af739..59c77594e 100644
--- a/src/map/map.h
+++ b/src/map/map.h
@@ -424,7 +424,7 @@ struct vending {
struct weapon_data {
int atkmods[3];
// all the variables except atkmods get zero'ed in each call of status_calc_pc
- // NOTE: if you want to add a non-zeroed variable, you need to update the memset call
+ // NOTE: if you want to add a non-zeroed variable, you need to update the malloc_set call
// in status_calc_pc as well! All the following are automatically zero'ed. [Skotlex]
int overrefine;
int star;
diff --git a/src/map/status.c b/src/map/status.c
index 12a20a335..ffa243604 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -1589,7 +1589,7 @@ int status_calc_pc(struct map_session_data* sd,int first)
malloc_set(&status->max_hp, 0, sizeof(struct status_data)-(sizeof(status->hp)+sizeof(status->sp)+sizeof(status->lhw)));
malloc_set(status->lhw, 0, sizeof(struct weapon_atk));
- //FIXME: Most of these stuff should be calculated once, but how do I fix the memset above to do that? [Skotlex]
+ //FIXME: Most of these stuff should be calculated once, but how do I fix the malloc_set above to do that? [Skotlex]
status->speed = DEFAULT_WALK_SPEED;
status->mode = MD_CANMOVE|MD_CANATTACK|MD_LOOTER|MD_ASSIST|MD_AGGRESSIVE|MD_CASTSENSOR;
status->size = (sd->class_&JOBL_BABY)?0:1;