Replace magic number 352 with VIEWPORT_HEIGHT (#1232)
This commit is contained in:
parent
bac8701ad7
commit
896933f55e
13 changed files with 30 additions and 28 deletions
|
|
@ -3618,7 +3618,7 @@ void CheckPlrSpell()
|
|||
}
|
||||
|
||||
if (pcurs != CURSOR_HAND
|
||||
|| MouseY >= 352
|
||||
|| MouseY >= VIEWPORT_HEIGHT
|
||||
|| (chrflag && MouseX < 320 || invflag && MouseX > 320)
|
||||
&& rspell != SPL_HEAL
|
||||
&& rspell != SPL_IDENTIFY
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue