neo-mat/arcemu — comment on commit 066d7f0723d6a46d737c16884154f73085e6fc57
File: src/arcemu-world/Unit.cpp line 2871
By jackpoz:

resisted_dmg = full_damage * r / 10;
uint32 = uint32 * uint32 / 10;

use 10 instead of 10.0f, remove the parentheses and you don't need to cast any float to uint32.

resisted_dmg = (*dmg).full_damage * r / 10;