Skip to content
Snippets Groups Projects

(UDMF prereq.) Spawn Z refactor

Merged Nev3r requested to merge spawn_z_refactor into next

Refactors the object spawn z coordinate calculation code into a separate function, save for the rings and hoops. The code now only makes use of mapthing_t.options in P_PrepareRawThings() in order to obtain mapthing_t.z, which will be used from then onwards instead.

This change might break Lua scripts which make use of the mapthing.z, though it shouldn't be a problem given it was inconsistent prior to this merge.

Also, ring-like objects such as emerald tokens or emblem no longer ignore the MF_SPAWNCEILING flag. Not that any of them have it anyway.

Edited by MascaraSnake

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading