mirror of
https://github.com/diasurgical/devilution.git
synced 2026-05-21 05:40:54 +00:00
Replace magic number 352 with VIEWPORT_HEIGHT (#1232)
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user