diff options
Diffstat (limited to 'src/game/Wintergrasp.cpp')
-rw-r--r-- | src/game/Wintergrasp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Wintergrasp.cpp b/src/game/Wintergrasp.cpp index 315e0b6e0ec..a8397438324 100644 --- a/src/game/Wintergrasp.cpp +++ b/src/game/Wintergrasp.cpp @@ -1255,9 +1255,9 @@ void OPvPWintergrasp::UpdateTenacityStack() if (allianceNum && hordeNum) { if (allianceNum < hordeNum) - newStack = int32(((float)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 - (float)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) |