projects
/
xonotic
/
xonotic-data.pk3dir.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43bb6b7
)
Fix cvar_settemp_restore not counting the number of restored cvars
author
terencehill <piuntn@gmail.com>
Wed, 25 Apr 2012 22:23:34 +0000
(
00:23
+0200)
committer
terencehill <piuntn@gmail.com>
Wed, 25 Apr 2012 22:23:34 +0000
(
00:23
+0200)
qcsrc/common/util.qc
patch
|
blob
|
history
diff --git
a/qcsrc/common/util.qc
b/qcsrc/common/util.qc
index 94e1e64611760d3cafead8b8dccf4508b8a98ae0..ec72290e87ebbf1a937ced62d6daafed1e920950 100644
(file)
--- a/
qcsrc/common/util.qc
+++ b/
qcsrc/common/util.qc
@@
-902,6
+902,7
@@
float cvar_settemp_restore()
{
cvar_set(e.netname, e.message);
remove(e);
+ ++i;
}
else
print(sprintf("Error: cvar %s doesn't exist anymore! It can still be restored once it's manually recreated.\n", e.netname));