aboutsummaryrefslogtreecommitdiff
path: root/src/main/game
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/game')
-rw-r--r--src/main/game/global_cache.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/game/global_cache.cpp b/src/main/game/global_cache.cpp
index 1ce8d5d..e58ac04 100644
--- a/src/main/game/global_cache.cpp
+++ b/src/main/game/global_cache.cpp
@@ -59,10 +59,10 @@ size_t hasher::operator()(const vector<pile>& piles) const {
if (init_gs.rules.stock_size > 0) {
combine(seed, hash_value(piles[init_gs.stock]));
- }
- if (init_gs.rules.stock_deal_t == sdt::WASTE) {
- combine(seed, hash_value(piles[init_gs.waste]));
+ if (init_gs.rules.stock_deal_t == sdt::WASTE) {
+ combine(seed, hash_value(piles[init_gs.waste]));
+ }
}
if (init_gs.rules.hole) {