diff options
| author | Shauren <shauren.trinity@gmail.com> | 2023-05-07 18:52:34 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2023-05-07 18:52:34 +0200 |
| commit | aa96aa478382524f75796ef8738cb0e0c8236981 (patch) | |
| tree | b2c1585cc0f0c7eef0f485dd3c4bbfa3a120f79b /src/server/game/Loot/Loot.cpp | |
| parent | 7e0b28c70c5dc8e43d277fe00b54db9fe2d9805f (diff) | |
Core/Misc: Cleanup Expression is converted to bool and can be replaced with 'boolean constant'
Diffstat (limited to 'src/server/game/Loot/Loot.cpp')
| -rw-r--r-- | src/server/game/Loot/Loot.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server/game/Loot/Loot.cpp b/src/server/game/Loot/Loot.cpp index e08da5a251a..3f251d8d9f5 100644 --- a/src/server/game/Loot/Loot.cpp +++ b/src/server/game/Loot/Loot.cpp @@ -47,10 +47,10 @@ LootItem::LootItem(LootStoreItem const& li) randomSuffix = GenerateEnchSuffixFactor(itemid); randomPropertyId = GenerateItemRandomPropertyId(itemid); count = 0; - is_looted = 0; - is_blocked = 0; - is_underthreshold = 0; - is_counted = 0; + is_looted = false; + is_blocked = false; + is_underthreshold = false; + is_counted = false; rollWinnerGUID = ObjectGuid::Empty; } |
