aboutsummaryrefslogtreecommitdiff
path: root/src/game/LootHandler.cpp
diff options
context:
space:
mode:
authorSpp <none@none>2010-04-07 23:56:35 +0200
committerSpp <none@none>2010-04-07 23:56:35 +0200
commit46f0674e237dd8fe97ba4f0769e18b4adfce841b (patch)
tree4556d27751077c2ed37a445493ed93a4d08e981b /src/game/LootHandler.cpp
parent2454c290b84e04bd0321ca94e0be8c8dc7eedbe8 (diff)
Code Style (game + scripts only):
">=" --> " >= " (when needed) " >=" --> " >=" ">= " --> ">= " "<=" --> " <= " (when needed) " <=" --> " <=" "<= " --> "<= " " ==" --> " ==" "== " --> "== " --HG-- branch : trunk
Diffstat (limited to 'src/game/LootHandler.cpp')
-rw-r--r--src/game/LootHandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/LootHandler.cpp b/src/game/LootHandler.cpp
index e73a94b5b4d..55aefb3c1f5 100644
--- a/src/game/LootHandler.cpp
+++ b/src/game/LootHandler.cpp
@@ -352,7 +352,7 @@ void WorldSession::DoLootRelease(uint64 lguid)
else if (go->GetGoType() == GAMEOBJECT_TYPE_FISHINGHOLE)
{ // The fishing hole used once more
go->AddUse(); // if the max usage is reached, will be despawned in next tick
- if (go->GetUseCount()>=irand(go->GetGOInfo()->fishinghole.minSuccessOpens,go->GetGOInfo()->fishinghole.maxSuccessOpens))
+ if (go->GetUseCount() >= irand(go->GetGOInfo()->fishinghole.minSuccessOpens,go->GetGOInfo()->fishinghole.maxSuccessOpens))
{
go->SetLootState(GO_JUST_DEACTIVATED);
}