summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorxazax-hun <xazax-hun@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-25 18:31:34 +0000
committerxazax-hun <xazax-hun@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-25 18:31:34 +0000
commit71693d0f15245dd87b243b0feaa2737f9525b8cb (patch)
tree967ac6d3ab6b9977e0aae594ab9259e6d9635a48 /src/map/pc.c
parent11c2d016d40070f1895d88c0eb7bb88079555cfd (diff)
downloadhercules-71693d0f15245dd87b243b0feaa2737f9525b8cb.tar.gz
hercules-71693d0f15245dd87b243b0feaa2737f9525b8cb.tar.bz2
hercules-71693d0f15245dd87b243b0feaa2737f9525b8cb.tar.xz
hercules-71693d0f15245dd87b243b0feaa2737f9525b8cb.zip
* Replaced rand() calls with rnd().
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15975 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index a881fdc97..e2994ef97 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -4373,7 +4373,7 @@ int pc_steal_coin(struct map_session_data *sd,struct block_list *target)
rate = skill + (sd->status.base_level - md->level)*3 + sd->battle_status.dex*2 + sd->battle_status.luk*2;
if(rnd()%1000 < rate)
{
- int amount = md->level*10 + rand()%100;
+ int amount = md->level*10 + rnd()%100;
log_zeny(sd, LOG_TYPE_STEAL, sd, amount);
pc_getzeny(sd, amount);