Commit 48f2dbd
committed
add a cvar for skipping demo cvars
.dem files have some cvars written to their
first tick in WriteDemoCvars
this is done for consistency with the player's
view for analysis, however in many cases
customers would like to just view a demo
without having it change their client's settings
for these purposes, we can skip all console commands
which were recorded on the initial tick of the demo
from being inserted into the command buffer1 parent 5493a0b commit 48f2dbd
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
1222 | 1223 | | |
1223 | 1224 | | |
1224 | 1225 | | |
1225 | | - | |
1226 | | - | |
| 1226 | + | |
| 1227 | + | |
| 1228 | + | |
| 1229 | + | |
| 1230 | + | |
1227 | 1231 | | |
1228 | 1232 | | |
1229 | 1233 | | |
| |||
0 commit comments