mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
a.m32 light hotkeys: clamp hitag (range) to 0..32767 instead of 0..16000
git-svn-id: https://svn.eduke32.com/eduke32@2227 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
afbffe5c4a
commit
9a7bdfa76c
1 changed files with 6 additions and 3 deletions
|
@ -347,9 +347,12 @@ defstate fiddlewithlights
|
||||||
ifeithershift set j 10
|
ifeithershift set j 10
|
||||||
else ifeitherctrl set j 1000
|
else ifeitherctrl set j 1000
|
||||||
else set j 100
|
else set j 100
|
||||||
ifhitkey KEY_KP9 add .hitag j
|
|
||||||
else ifhitkey KEY_KP7 sub .hitag j
|
set k .hitag
|
||||||
clamp .hitag 0 16000
|
ifhitkey KEY_KP9 add k j
|
||||||
|
else ifhitkey KEY_KP7 sub k j
|
||||||
|
clamp k 0 32767
|
||||||
|
set .hitag k
|
||||||
|
|
||||||
// min/max shade
|
// min/max shade
|
||||||
ifeithershift set j -1 else set j 1
|
ifeithershift set j -1 else set j 1
|
||||||
|
|
Loading…
Reference in a new issue