summaryrefslogtreecommitdiff
path: root/src/char_sql/int_homun.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-26 18:49:46 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-26 18:49:46 +0000
commit66b2cadb9bcb6ad125cb18cdbea903a63ad0d925 (patch)
treed5fbc354d0db815d28c71e31f8e48b7e272d3ac4 /src/char_sql/int_homun.c
parent7924f0a9251dba9dbd7acae7d6bff3cb8610ab9b (diff)
downloadhercules-66b2cadb9bcb6ad125cb18cdbea903a63ad0d925.tar.gz
hercules-66b2cadb9bcb6ad125cb18cdbea903a63ad0d925.tar.bz2
hercules-66b2cadb9bcb6ad125cb18cdbea903a63ad0d925.tar.xz
hercules-66b2cadb9bcb6ad125cb18cdbea903a63ad0d925.zip
- Added a wrapper to delete_timer so it prints out from where the invocation was done.
- Fixed some unsigned warnings. - Fixed Splash attacks consuming 2 ammo on each attack. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9718 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql/int_homun.c')
-rw-r--r--src/char_sql/int_homun.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/char_sql/int_homun.c b/src/char_sql/int_homun.c
index 7fd27550a..3fc0ca8a4 100644
--- a/src/char_sql/int_homun.c
+++ b/src/char_sql/int_homun.c
@@ -183,9 +183,7 @@ int mapif_load_homunculus(int fd){
homun_pt->hunger = 0;
else if(homun_pt->hunger > 100)
homun_pt->hunger = 100;
- if(homun_pt->intimacy < 0)
- homun_pt->intimacy = 0;
- else if(homun_pt->intimacy > 100000)
+ if(homun_pt->intimacy > 100000)
homun_pt->intimacy = 100000;
mysql_free_result(sql_res);