summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-10-05 18:45:08 +0200
committerBardur Arantsson <bardur@scientician.net>2016-10-05 18:45:08 +0200
commitbea14b1db03fcd62d7dfd6633a0802f222792311 (patch)
treecf1c927f02ebd717f482f3d9f38ce38f61dc7e1e /src
parent1232fbbcbaa8e6f084a7a1ef1394f1cafc6eb5b6 (diff)
Fix typo where incorrect array bound was being used
Diffstat (limited to 'src')
-rw-r--r--src/object1.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object1.cc b/src/object1.cc
index c812462f..0d93c917 100644
--- a/src/object1.cc
+++ b/src/object1.cc
@@ -695,7 +695,7 @@ void reset_visuals(void)
}
/* Reset attr/char code for trap overlay graphics */
- for (i = 0; i < max_rmp_idx; i++)
+ for (i = 0; i < max_t_idx; i++)
{
trap_type *t_ptr = &t_info[i];