From c53e250d112a73fff7cdb5386e7545624ae31de1 Mon Sep 17 00:00:00 2001 From: Arthur Dene Ice Date: Fri, 9 May 2014 18:06:07 -0700 Subject: [PATCH] uint16 to uint8 explicit conversion --- zone/attack.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/attack.cpp b/zone/attack.cpp index f4eca4e50..9bfeec3c0 100644 --- a/zone/attack.cpp +++ b/zone/attack.cpp @@ -4462,7 +4462,7 @@ void Mob::DoRiposte(Mob* defender) { mlog(COMBAT__ATTACKS, "Preforming a return SPECIAL ATTACK (%d percent chance)", DoubleRipChance); if (defender->GetClass() == MONK) - defender->MonkSpecialAttack(this, defender->aabonuses.GiveDoubleRiposte[2]); + defender->MonkSpecialAttack(this, (uint8)defender->aabonuses.GiveDoubleRiposte[2]); else if (defender->IsClient()) defender->CastToClient()->DoClassAttacks(this,defender->aabonuses.GiveDoubleRiposte[2], true); }