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
Adam Jones
EDuke32
Commits
5b3467af
Commit
5b3467af
authored
Apr 04, 2020
by
NY00123
Browse files
SW: Fix typo in DoPlayerTeleportToSprite, following the migration to q16 angles
parent
6edb2068
Changes
1
Hide whitespace changes
Inline
Side-by-side
source/sw/src/player.cpp
View file @
5b3467af
...
...
@@ -1336,7 +1336,7 @@ DoPlayerTeleportPause(PLAYERp pp)
void
DoPlayerTeleportToSprite
(
PLAYERp
pp
,
SPRITEp
sp
)
{
pp
->
q16ang
=
pp
->
q16ang
=
fix16_from_int
(
sp
->
ang
);
pp
->
q16ang
=
pp
->
o
q16ang
=
fix16_from_int
(
sp
->
ang
);
pp
->
posx
=
pp
->
oposx
=
pp
->
oldposx
=
sp
->
x
;
pp
->
posy
=
pp
->
oposy
=
pp
->
oldposy
=
sp
->
y
;
...
...
Write
Preview
Markdown
is supported
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