diff options
author | Adam Borowski <kilobyte@angband.pl> | 2011-06-09 13:26:44 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2011-06-09 13:26:44 +0200 |
commit | b8177409a1a390b52490fe957cff35ad47b4f214 (patch) | |
tree | 6b8a54741fa2e569911067a95b40a5d2190ef4ec /crawl-ref/source/quiver.cc | |
parent | 7638acb84bfd181e8809403b61242292b972b7ff (diff) | |
download | crawl-ref-b8177409a1a390b52490fe957cff35ad47b4f214.tar.gz crawl-ref-b8177409a1a390b52490fe957cff35ad47b4f214.zip |
Don't require ", c1" in COMPILE_CHECK().
Diffstat (limited to 'crawl-ref/source/quiver.cc')
-rw-r--r-- | crawl-ref/source/quiver.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/quiver.cc b/crawl-ref/source/quiver.cc index b1d7c58de3..6d6a831873 100644 --- a/crawl-ref/source/quiver.cc +++ b/crawl-ref/source/quiver.cc @@ -37,7 +37,7 @@ static bool _items_similar(const item_def& a, const item_def& b, player_quiver::player_quiver() : m_last_used_type(AMMO_THROW) { - COMPILE_CHECK(ARRAYSZ(m_last_used_of_type) == NUM_AMMO, a); + COMPILE_CHECK(ARRAYSZ(m_last_used_of_type) == NUM_AMMO); } // Return: @@ -503,7 +503,7 @@ preserve_quiver_slots::preserve_quiver_slots() return; COMPILE_CHECK(ARRAYSZ(m_last_used_of_type) == - ARRAYSZ(you.m_quiver->m_last_used_of_type), a); + ARRAYSZ(you.m_quiver->m_last_used_of_type)); for (unsigned int i = 0; i < ARRAYSZ(m_last_used_of_type); i++) { |