Skip to content

Commit

Permalink
Fix sm1.10 build
Browse files Browse the repository at this point in the history
  • Loading branch information
Bara committed Feb 3, 2018
1 parent 050275c commit 5ccf16d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/sourcemod/scripting/ttt/ttt.sp
Expand Up @@ -1529,7 +1529,7 @@ public Action OnTakeDamageAlive(int iVictim, int &iAttacker, int &inflictor, flo
{
if (g_ckarmaDMG_up.BoolValue || (g_iKarma[iAttacker] < g_cstartKarma.IntValue))
{
fDamage = (damage * FloatDiv(float(g_iKarma[iAttacker]), float(g_cstartKarma.IntValue)));
fDamage = (damage * (float(g_iKarma[iAttacker]) / float(g_cstartKarma.IntValue)));
}
}
}
Expand Down

0 comments on commit 5ccf16d

Please sign in to comment.