summaryrefslogtreecommitdiff
path: root/src/map/pet.c
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-01 05:30:12 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-01 05:30:12 +0000
commit9a2364406f6786bb96f13f7509c825e93e074ea9 (patch)
tree77d76a7e3d916ca46c64dc5ec5011118081da47f /src/map/pet.c
parent1a5669daa2c667e78be2d2b9e2145b6335a7ceaf (diff)
downloadhercules-9a2364406f6786bb96f13f7509c825e93e074ea9.tar.gz
hercules-9a2364406f6786bb96f13f7509c825e93e074ea9.tar.bz2
hercules-9a2364406f6786bb96f13f7509c825e93e074ea9.tar.xz
hercules-9a2364406f6786bb96f13f7509c825e93e074ea9.zip
* Fixed compiler warnings.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5838 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pet.c')
-rw-r--r--src/map/pet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pet.c b/src/map/pet.c
index 4aef4e9b4..db3ee4928 100644
--- a/src/map/pet.c
+++ b/src/map/pet.c
@@ -973,7 +973,7 @@ static int pet_ai_sub_hard(struct pet_data *pd,unsigned int tick)
//Return speed to normal.
if (pd->speed != sd->petDB->speed)
- pd->speed == sd->petDB->speed;
+ pd->speed = sd->petDB->speed;
if (pd->target_id) {
target= map_id2bl(pd->target_id);