Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Adam Jones
EDuke32
Commits
4af08d4e
Commit
4af08d4e
authored
Apr 07, 2020
by
Richard Gobeille
Browse files
Fix stupid typo that broke the camera aiming at the enemy that killed you in Duke3D
parent
87b22277
Changes
1
Hide whitespace changes
Inline
Side-by-side
source/duke3d/src/actors.cpp
View file @
4af08d4e
...
...
@@ -1430,7 +1430,7 @@ ACTOR_STATIC void G_MovePlayers(void)
if
(
pPlayer
->
wackedbyactor
>=
0
&&
sprite
[
pPlayer
->
wackedbyactor
].
statnum
<
MAXSTATUS
)
{
pPlayer
->
q16ang
+=
fix16_
to
_int
(
G_GetAngleDelta
(
pPlayer
->
q16ang
,
pPlayer
->
q16ang
+=
fix16_
from
_int
(
G_GetAngleDelta
(
fix16_to_int
(
pPlayer
->
q16ang
)
,
getangle
(
sprite
[
pPlayer
->
wackedbyactor
].
x
-
pPlayer
->
pos
.
x
,
sprite
[
pPlayer
->
wackedbyactor
].
y
-
pPlayer
->
pos
.
y
))
>>
1
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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