Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • SRB2 SRB2
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare revisions
  • Issues 436
    • Issues 436
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 133
    • Merge requests 133
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Model experiments
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • STJrSTJr
  • SRB2SRB2
  • Issues
  • #661

Dropped rings, tossed flags, and other objects will gravflip with the player that dropped them

srb20052

For some bizarre reason, objects such as dropped rings and tossed flags check constantly for their target's gravity flip status. If the target is flipped, these objects will flip.

This check should be moved out of P_GetMobjGravity entirely, and it should only be done one time when the mobj is spawned from the player.

Relevant discord discussion: https://discord.com/channels/357945222111428609/569169328386211883/879892304570241144

Relevant code: https://git.do.srb2.org/STJr/SRB2/-/blob/next/src/p_mobj.c#L1481

Edited Aug 25, 2021 by Krabs
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking