NeotokyoRebuild / neo

NEOTOKYO Rebuild - Source SDK 2013 mod of NEOTOKYO
https://neotokyorebuild.github.io/
Other
15 stars 12 forks source link

Refactor neo_hud_elements - memory management #332

Closed nullsystem closed 1 month ago

nullsystem commented 2 months ago

Just to remind myself to follow up from: https://github.com/NeotokyoRebuild/neo/pull/326#discussion_r1623638029

Basically let the global HUD element handle the memory instead of neo_hud_elements. Done via DECLARE_HUDELEMENT and fetched via GET_HUDELEMENT instead.