summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorParadox924X <Paradox924X@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-06-13 05:00:57 +0000
committerParadox924X <Paradox924X@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-06-13 05:00:57 +0000
commitcc28e7f29c421fb5eb9b6f27b7852e8df8718b2f (patch)
tree73855167aeffd4fbd285e776fefa8691f9ddf452 /src/map/mob.c
parent0580db8bf96e58c76f0b743003fb707a8dc2e4de (diff)
downloadhercules-cc28e7f29c421fb5eb9b6f27b7852e8df8718b2f.tar.gz
hercules-cc28e7f29c421fb5eb9b6f27b7852e8df8718b2f.tar.bz2
hercules-cc28e7f29c421fb5eb9b6f27b7852e8df8718b2f.tar.xz
hercules-cc28e7f29c421fb5eb9b6f27b7852e8df8718b2f.zip
Changed a few sprintf's that had no format arguments to strcpy's.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13887 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 13523d94e..834d44220 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -3128,9 +3128,9 @@ int mob_clone_spawn(struct map_session_data *sd, int m, int x, int y, const char
db = mob_db_data[class_]=(struct mob_db*)aCalloc(1, sizeof(struct mob_db));
status = &db->status;
- sprintf(db->sprite,sd->status.name);
- sprintf(db->name,sd->status.name);
- sprintf(db->jname,sd->status.name);
+ strcpy(db->sprite,sd->status.name);
+ strcpy(db->name,sd->status.name);
+ strcpy(db->jname,sd->status.name);
db->lv=status_get_lv(&sd->bl);
memcpy(status, &sd->base_status, sizeof(struct status_data));
status->rhw.atk2= status->dex + status->rhw.atk + status->rhw.atk2; //Max ATK