mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-07 08:15:59 -10:00
Set both flags when g3_project_vertex hits a vertex at zero depth
The expression used & instead of |, so neither PF_OVERFLOW nor PF_PROJECTED was ever set on that path. Co-Authored-By: Claude Fable 5.1 <[email protected]>
This commit is contained in:
1 parent
0c33d9b90a
commit
b519bc8945
1 file changed
+1
-1
@@ -230,7 +230,7 @@ int g3_project_vertex(vertex *p)
|
||||
p->screen.xyw.x = 0.0;
|
||||
p->screen.xyw.y = 0.0;
|
||||
p->screen.xyw.w = 0.0;
|
||||
p->flags |= PF_OVERFLOW & PF_PROJECTED;
|
||||
p->flags |= PF_OVERFLOW | PF_PROJECTED;
|
||||
return p->flags;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user