diff options
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/skill.c | 4 | ||||
-rw-r--r-- | src/map/status.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index af0fef4b5..e9fd52854 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -2823,7 +2823,7 @@ int skill_castend_damage_id (struct block_list* src, struct block_list *bl,int s case HVAN_CAPRICE: //[blackhole89] { int ran=rand()%4; - int sid; + int sid = 0; switch(ran) { case 0: sid=MG_COLDBOLT; break; @@ -6645,7 +6645,7 @@ int skill_unit_onplace_timer(struct skill_unit *src,struct block_list *bl,unsign struct status_data *tstatus, *sstatus; struct status_change *tsc, *sc; struct skill_unit_group_tickset *ts; - int matk_min, matk_max; //For Magic power... + int matk_min = 0, matk_max = 0; //For Magic power... int type, skillid; int diff=0; diff --git a/src/map/status.c b/src/map/status.c index 09170ee92..4baa3d8d3 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -917,7 +917,7 @@ void status_calc_misc(struct status_data *status, int level) int status_calc_mob(struct mob_data* md, int first) { struct status_data *status; - struct block_list *mbl; + struct block_list *mbl = NULL; int flag=0; //Check if we need custom base-status |