mangos/mangos — comment on commit f65a1cdf0288e764ee45481cf6d25c3bfac7df4b
File: src/game/Player.cpp line 23015
By pabzea:

this is the only possible error I can find.

better use this code:
if (gearScore[EQUIPMENT_SLOT_MAINHAND] + gearScore[EQUIPMENT_SLOT_OFFHAND] < twoHandScore * 2)

also, i dont really like the pointer "twoHandScore", but it can be replaced when another better way would be implemented.