Skip to content

Commit 7818cf4

Browse files
committed
docs: cvars
1 parent 6956dbe commit 7818cf4

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

docs/cvars.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@
246246
|sar_give_fly|cmd|sar_give_fly [n] - gives the player in slot n (0 by default) preserved crouchfly.|
247247
|sar_groundframes_reset|cmd|sar_groundframes_reset - reset recorded groundframe statistics.|
248248
|sar_groundframes_total|cmd|sar_groundframes_total [slot] - output a summary of groundframe counts for the given player slot.|
249+
|sar_hud_align|0|Alignment of HUD. (0 = left, 1 = center, 2 = right).|
249250
|sar_hud_angles|0|Draws absolute view angles of the client.<br>0 = Default,<br>1 = XY,<br>2 = XYZ,<br>3 = X,<br>4 = Y.|
250251
|sar_hud_avg|0|Draws calculated average of timer.|
251252
|sar_hud_bg|0|Enable the SAR HUD background.|

src/Modules/MaterialSystem.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ void MaterialSystem::Shutdown() {
119119
RenderContextShutdown();
120120
RenderContextInit();
121121
}
122+
SAFE_DELETE(g_renderContextPatch);
122123
}
123124
IMaterial *MaterialSystem::FindMaterial(const char *materialName, const char *textureGroupName) {
124125
auto func = (IMaterial *(__rescall *)(void *, const char *, const char *, bool, const char *))this->materials->Current(Offsets::FindMaterial);

0 commit comments

Comments
 (0)