]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/triggers/target/location.qc
Merge branch 'master' into Lyberta/PrintMove
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / target / location.qc
1 #include "location.qh"
2 #ifdef SVQC
3 void target_push_init(entity this);
4
5 spawnfunc(target_location)
6 {
7     this.classname = "target_location";
8     // location name in netname
9     // eventually support: count, teamgame selectors, line of sight?
10
11     target_push_init(this);
12
13     IL_PUSH(g_locations, this);
14 }
15
16 spawnfunc(info_location)
17 {
18     this.classname = "target_location";
19     this.message = this.netname;
20
21     target_push_init(this);
22
23     IL_PUSH(g_locations, this);
24 }
25 #endif