summaryrefslogtreecommitdiff
path: root/src/xtra1.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/xtra1.cc')
-rw-r--r--src/xtra1.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/xtra1.cc b/src/xtra1.cc
index 7141630e..05bf40b3 100644
--- a/src/xtra1.cc
+++ b/src/xtra1.cc
@@ -1087,7 +1087,7 @@ static void fix_inven()
int j;
/* Scan windows */
- for (j = 0; j < 8; j++)
+ for (j = 0; j < ANGBAND_TERM_MAX; j++)
{
term *old = Term;
@@ -1121,7 +1121,7 @@ static void fix_equip()
int j;
/* Scan windows */
- for (j = 0; j < 8; j++)
+ for (j = 0; j < ANGBAND_TERM_MAX; j++)
{
term *old = Term;
@@ -1153,7 +1153,7 @@ static void fix_player()
int j;
/* Scan windows */
- for (j = 0; j < 8; j++)
+ for (j = 0; j < ANGBAND_TERM_MAX; j++)
{
term *old = Term;
@@ -1193,7 +1193,7 @@ void fix_message()
int x, y;
/* Scan windows */
- for (j = 0; j < 8; j++)
+ for (j = 0; j < ANGBAND_TERM_MAX; j++)
{
term *old = Term;
@@ -1246,7 +1246,7 @@ static void fix_overhead()
int cy, cx;
/* Scan windows */
- for (j = 0; j < 8; j++)
+ for (j = 0; j < ANGBAND_TERM_MAX; j++)
{
term *old = Term;
@@ -1279,7 +1279,7 @@ static void fix_monster()
int j;
/* Scan windows */
- for (j = 0; j < 8; j++)
+ for (j = 0; j < ANGBAND_TERM_MAX; j++)
{
term *old = Term;
@@ -1315,7 +1315,7 @@ static void fix_object()
int j;
/* Scan windows */
- for (j = 0; j < 8; j++)
+ for (j = 0; j < ANGBAND_TERM_MAX; j++)
{
term *old = Term;
@@ -1355,7 +1355,7 @@ static void fix_m_list()
std::vector<u16b>(r_info.size(), 0);
/* Scan windows */
- for (std::size_t j = 0; j < 8; j++)
+ for (std::size_t j = 0; j < ANGBAND_TERM_MAX; j++)
{
term *old = Term;
@@ -4226,7 +4226,7 @@ void window_stuff()
if (!p_ptr->window) return;
/* Scan windows */
- for (j = 0; j < 8; j++)
+ for (j = 0; j < ANGBAND_TERM_MAX; j++)
{
/* Save usable flags */
if (angband_term[j]) mask |= window_flag[j];