Wintergrasp: Working tenacity calculation, by RammboNr5
--HG-- branch : trunk
This commit is contained in:
1 parent
56397ac612
commit
a44517b1a9
1 file changed
+2
-2
@@ -1255,9 +1255,9 @@ void OPvPWintergrasp::UpdateTenacityStack()
|
||||
if (allianceNum && hordeNum)
|
||||
{
|
||||
if (allianceNum < hordeNum)
|
||||
newStack = int32((hordeNum / (float)allianceNum - 1)*4); // positive, should cast on alliance
|
||||
newStack = int32(((float)hordeNum / (float)allianceNum - 1)*4); // positive, should cast on alliance
|
||||
else if (allianceNum > hordeNum)
|
||||
newStack = int32((1 - allianceNum / (float)hordeNum)*4); // negative, should cast on horde
|
||||
newStack = int32((1 - (float)allianceNum / (float)hordeNum)*4); // negative, should cast on horde
|
||||
}
|
||||
|
||||
if (newStack == m_tenacityStack)
|
||||
|
||||
Reference in new issue
Block a user