Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joël Langlois
EDuke32
Commits
188e1462
Commit
188e1462
authored
Sep 22, 2020
by
Richard Gobeille
Browse files
Mapster32: limit 3d mode mouse sloping to left ctrl instead of both ctrl keys
parent
778901d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
source/duke3d/src/astub.cpp
View file @
188e1462
...
...
@@ -5503,7 +5503,7 @@ static void Keys3d(void)
Bsprintf
(
tempbuf
,
"%s Z %s"
,
AIMING_AT_CEILING
?
"CEILING"
:
"FLOOR"
,
eitherCTRL
?
"512"
:
""
);
else
if
(
eitherSHIFT
)
Bsprintf
(
tempbuf
,
"PAN"
);
else
if
(
either
CTRL
)
else
if
(
keystatus
[
KEYSC_L
CTRL
]
)
Bsprintf
(
tempbuf
,
"SLOPE"
);
break
;
case
SEARCH_SPRITE
:
...
...
@@ -5910,7 +5910,7 @@ static void Keys3d(void)
mouseaction
=
0
;
if
(
either
CTRL
&&
!
eitherSHIFT
&&
(
bstatus
&
1
)
&&
AIMING_AT_CEILING_OR_FLOOR
)
if
(
keystatus
[
KEYSC_L
CTRL
]
&&
!
eitherSHIFT
&&
(
bstatus
&
1
)
&&
AIMING_AT_CEILING_OR_FLOOR
)
{
g_mousePos
.
x
=
0
;
mskip
=
1
;
if
(
g_mousePos
.
y
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment