diff options
author | Bardur Arantsson <bardur@scientician.net> | 2013-09-08 11:49:32 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2013-09-27 14:46:43 +0200 |
commit | 88767d9fd11638b90e16da05426b19da9ef2b9b9 (patch) | |
tree | 185a93139f9b119bbdebd840cda377d1550c93a8 /src/variable.cc | |
parent | 7e88e06c6ea90c48c225ac89a7d7685dfa76cd65 (diff) |
Fix an overflow with allocation values
Diffstat (limited to 'src/variable.cc')
-rw-r--r-- | src/variable.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/variable.cc b/src/variable.cc index 89df6cc5..6dd98919 100644 --- a/src/variable.cc +++ b/src/variable.cc @@ -597,7 +597,7 @@ u16b max_real_towns; town_type *town_info; /* - * The size of "alloc_kind_table" (at most max_k_idx * 4) + * The size of "alloc_kind_table" (at most max_k_idx * ALLOCATIONS_MAX) */ s16b alloc_kind_size; |