Skip to content

Conversation

@themuffinator
Copy link
Owner

Summary

  • guard std::clamp usage against macro collisions when clamping client counts and movement inputs
  • clamp ladder movement with macro-safe calls to avoid unintended min/max macro expansion
  • clamp damage indicator encoding explicitly before casting to a byte to prevent narrowing surprises

Testing

  • Not run (not requested)

Codex Task

…alue-initialization-in-spawnentities

Add helper to reset level struct safely
…s-for-code-reuse

Refactor SpawnEntities entity parsing
…opulation-after-reset

Preserve level entity string
…-conversion-in-intermission-code

Fix intermission angles
…nt-in-pitch-adjustments

Guard intermission pitch hacks when spawn missing
…nitgame

Clamp maxclients before allocations
…alls-in-load/save-path

Fix TagMalloc tags in load paths
…-logic

Ensure map restart resets world state
…-in-cmd_setmap_f

Improve map list validation in setmap command
…ms-for-round-management

Defer team balance during rounds
…licate-entries-in-initsave

Handle duplicate save registry entries
…ctivator-in-g_printactivationmessage

Handle null trigger activators safely
…ndlymessage-for-spectators

Ensure spectators inherit team chat prefix
…in-main

Reset shared state between CTF flag tests
…ers.social_id

Sanitize player social id for config paths
…file-in-pcfg_clientinitpconfig

Parse and apply player config settings
…string-write-in-pcfg_writeconfig

Restore validation and writing for player config output
…itpconfig-for-ftell-handling

Handle pcfg file length errors
…g-in-pcfg_clientinitpconfig

Handle invalid player configs by regenerating defaults
…itpconfig-to-parse-config

Improve player config parsing validation
…cial_id-in-config-path

Harden player config path handling
…itpconfig-parsing

Parse player configs with validation
…g-detection-and-regeneration

Handle invalid player configs
…n-g_save-and-g_utils

Fix MSVC compilation errors
…,-std-max,-std-clamp

Fix damage indicator clamp type
@ozy24 ozy24 force-pushed the main branch 2 times, most recently from e51338e to c2adaf5 Compare December 27, 2025 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants