Commit 122734d
committed
fix: cvarlist doesn't print float values
comparing the int value to the float value casted to int
will pass every time. instead, copy over the logic from
ConVar_PrintDescription which checks to see if the
int value is equivalent to the float value1 parent 72978c5 commit 122734d
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
741 | 741 | | |
742 | 742 | | |
743 | 743 | | |
744 | | - | |
| 744 | + | |
745 | 745 | | |
746 | 746 | | |
747 | 747 | | |
| |||
0 commit comments