Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
SRB2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
James Hale
SRB2
Commits
9296aaa2
Commit
9296aaa2
authored
6 years ago
by
Monster Iestyn
Browse files
Options
Downloads
Patches
Plain Diff
zangle should be shifted down by ANGLETOFINESHIFT if we're to use FINETANGENT on it
parent
4edeeb69
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/lua_maplib.c
+1
-1
1 addition, 1 deletion
src/lua_maplib.c
with
1 addition
and
1 deletion
src/lua_maplib.c
+
1
−
1
View file @
9296aaa2
...
...
@@ -1344,7 +1344,7 @@ static int slope_set(lua_State *L)
}
case
slope_zangle
:
// zangle
slope
->
zangle
=
luaL_checkangle
(
L
,
3
);
slope
->
zdelta
=
FINETANGENT
(
slope
->
zangle
);
slope
->
zdelta
=
FINETANGENT
(
slope
->
zangle
>>
ANGLETOFINESHIFT
);
P_CalculateSlopeNormal
(
slope
);
break
;
case
slope_xydirection
:
// xydirection
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment