summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-05 19:17:44 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-05 19:17:44 +0000
commit4bc74ed1e4119ab962652308df1044fba44376e6 (patch)
tree118981ef47bd7e9a3cd808b9db188cc847fa26a9 /src/map/clif.c
parentbe333fef8f4e91bebd76d0fb1c6ca714915d5dbb (diff)
downloadhercules-4bc74ed1e4119ab962652308df1044fba44376e6.tar.gz
hercules-4bc74ed1e4119ab962652308df1044fba44376e6.tar.bz2
hercules-4bc74ed1e4119ab962652308df1044fba44376e6.tar.xz
hercules-4bc74ed1e4119ab962652308df1044fba44376e6.zip
- Cleaned up code for SC_MINDBREAKER.
- Changed hit, flee, cri, flee2, def2 and mdef2 to signed short, def, mdef to signed char to correctly account for cards with penalties in said stats. - Added cap_value checks in all of the status_calc_* return paths to make sure no stat is invalid. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6986 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index fee72a26c..716e5e7c5 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -5157,6 +5157,7 @@ int clif_send0199(int map,int type)
struct block_list bl;
unsigned char buf[16];
+ bl.id = 0;
bl.type = BL_NUL;
bl.m = map;
WBUFW(buf,0)=0x199;