summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index cbc017819..2bf410ca3 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -656,7 +656,7 @@ int battle_addmastery(struct map_session_data *sd,struct block_list *target,int
static int battle_calc_base_damage(struct status_data *status, struct weapon_atk *wa, struct status_change *sc, unsigned short t_size, struct map_session_data *sd, int flag)
{
unsigned short atkmin=0, atkmax=0;
- short type;
+ short type = 0;
int damage = 0;
if (!sd)