Mercurial > wow > mailopener
diff Modules/OpenAll.lua @ 91:0a8e4a93316d
Extremely small irrelevant cleaning up changes I made while looking through the code.
| author | Zerotorescue |
|---|---|
| date | Sat, 18 Sep 2010 15:37:27 +0200 |
| parents | b3b9220c91e6 |
| children | 5c06ce56297a |
line wrap: on
line diff
--- a/Modules/OpenAll.lua Sat Sep 18 15:36:23 2010 +0200 +++ b/Modules/OpenAll.lua Sat Sep 18 15:37:27 2010 +0200 @@ -468,7 +468,7 @@ slotsAvailable = 0; -- First find out the amount of empty bag slots - for bag = 0, 4 do + for bag = 0, NUM_BAG_SLOTS do local numberOfFreeSlots, _ = GetContainerNumFreeSlots(bag); slotsAvailable = ( slotsAvailable + numberOfFreeSlots ); end
