diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-03-16 20:49:42 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-03-16 20:49:42 +0000 |
commit | 305618f279ee424e35c254b0d63d151f91fd3e69 (patch) | |
tree | 0c4e1ed4b83a802c009af44d74ac11190c650f07 /crawl-ref/source/tilereg.cc | |
parent | e517615e56766a43008442ebdfe3669c6333710a (diff) | |
download | crawl-ref-305618f279ee424e35c254b0d63d151f91fd3e69.tar.gz crawl-ref-305618f279ee424e35c254b0d63d151f91fd3e69.zip |
* Fix 2687930: Shorten the spell menu more, and don't call update_title()
at '?' as apparently all it does is hide the first spell line.
* Uncomment the autoinscription of weapons of distortion in init.txt.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9511 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/tilereg.cc')
-rw-r--r-- | crawl-ref/source/tilereg.cc | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/crawl-ref/source/tilereg.cc b/crawl-ref/source/tilereg.cc index 79387e594a..e4173944f1 100644 --- a/crawl-ref/source/tilereg.cc +++ b/crawl-ref/source/tilereg.cc @@ -90,11 +90,11 @@ const int dir_dx[9] = {-1, 0, 1, -1, 0, 1, -1, 0, 1}; const int dir_dy[9] = {1, 1, 1, 0, 0, 0, -1, -1, -1}; const int cmd_normal[9] = {'b', 'j', 'n', 'h', '.', 'l', 'y', 'k', 'u'}; -const int cmd_shift[9] = {'B', 'J', 'N', 'H', '5', 'L', 'Y', 'K', 'U'}; -const int cmd_ctrl[9] = {CONTROL('B'), CONTROL('J'), CONTROL('N'), - CONTROL('H'), 'X', CONTROL('L'), - CONTROL('Y'), CONTROL('K'), CONTROL('U')}; -const int cmd_dir[9] = {'1', '2', '3', '4', '5', '6', '7', '8', '9'}; +const int cmd_shift[9] = {'B', 'J', 'N', 'H', '5', 'L', 'Y', 'K', 'U'}; +const int cmd_ctrl[9] = {CONTROL('B'), CONTROL('J'), CONTROL('N'), + CONTROL('H'), 'X', CONTROL('L'), + CONTROL('Y'), CONTROL('K'), CONTROL('U')}; +const int cmd_dir[9] = {'1', '2', '3', '4', '5', '6', '7', '8', '9'}; Region::Region() : ox(0), @@ -1254,10 +1254,8 @@ void InventoryRegion::on_resize() return; m_flavour = new unsigned char[mx * my]; - for (int i = 0; i < mx * my; i++) - { + for (int i = 0; i < mx * my; ++i) m_flavour[i] = random2((unsigned char)~0); - } } void InventoryRegion::update(int num, InventoryTile *items) |