]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
Hook code: minor optimizations and cleanups
authorterencehill <piuntn@gmail.com>
Thu, 31 Oct 2024 13:28:40 +0000 (14:28 +0100)
committerterencehill <piuntn@gmail.com>
Thu, 31 Oct 2024 13:28:40 +0000 (14:28 +0100)
commit32f13eba81ffb85afbfc268fa8f479a1ecb99e43
tree1d992865745016cc3c1e3d7cc416513e48a60dfa
parent34ebe2410d4f70e7be6d2c820cbe1a6a2f21480d
Hook code: minor optimizations and cleanups

Optimizations:
- calculate dir without using normalize
- reduce scope of some variables

Cleanups:
- remove useless and outdated installation instructions
- fix mixed indentation in 2 functions (now hook.qc is fully indented with tabs)
- don't mention cvar values next to autocvars
qcsrc/server/hook.qc
qcsrc/server/hook.qh