]> de.git.xonotic.org Git - xonotic/gmqcc.git/blob - testsuite/field-parameters/main.qc
Fixing some indentation
[xonotic/gmqcc.git] / testsuite / field-parameters / main.qc
1 void(string, string) print = #1;
2 entity()             spawn = #3;
3
4 .string a;
5 .string b;
6
7 void(entity e, .string s) callout = {
8         print(e.s, "\n");
9 };
10
11 void() main = {
12         local entity e;
13         e = spawn();
14         e.a = "foo";
15         e.b = "bar";
16         callout(e, b);
17 };