]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
variables work better if declared
authorRudolf Polzer <divverent@xonotic.org>
Mon, 15 Aug 2011 19:04:03 +0000 (21:04 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Mon, 15 Aug 2011 19:04:03 +0000 (21:04 +0200)
qcsrc/menu/xonotic/keybinder.c

index 90dfe9fa8c423047a9d94dcdd026b1a872b674df..754135bb21b9b98e9bcc341ce63836a29a964e6c 100644 (file)
@@ -72,6 +72,7 @@ entity makeXonoticKeyBinder()
 }
 void replace_bind(string from, string to)
 {
+       float n, j, k;
        n = tokenize(findkeysforcommand(from)); // uses '...' strings
        for(j = 0; j < n; ++j)
        {