summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-27 22:20:00 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-27 22:20:00 +0000
commit1423b37feb3a548ad917bf7667a2e1b5b85562de (patch)
tree190228d3fdf57d3df5f166b5849ba4ec02cf5272 /src/map
parenta7b905c5e5a01572e29f1de8fde1e09a27f6d439 (diff)
downloadhercules-1423b37feb3a548ad917bf7667a2e1b5b85562de.tar.gz
hercules-1423b37feb3a548ad917bf7667a2e1b5b85562de.tar.bz2
hercules-1423b37feb3a548ad917bf7667a2e1b5b85562de.tar.xz
hercules-1423b37feb3a548ad917bf7667a2e1b5b85562de.zip
Tweaked MEMSET_TURBO abit, temperory disabled GCC version.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8505 54d463be-8e91-2dee-dedb-b68131a5f0ec
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;