]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/mapobjects/target/location.qc
Tidy up classnames
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / mapobjects / target / location.qc
index 5774f45f993c183bf19712391b5f877eac24daf4..2169e1b89e809486aa8bf9827682a7ea4687350a 100644 (file)
@@ -4,7 +4,6 @@ void target_push_init(entity this);
 
 spawnfunc(target_location)
 {
-    this.classname = "target_location";
     // location name in netname
     // eventually support: count, teamgame selectors, line of sight?
 
@@ -15,11 +14,7 @@ spawnfunc(target_location)
 
 spawnfunc(info_location)
 {
-    this.classname = "target_location";
     this.message = this.netname;
-
-    target_push_init(this);
-
-    IL_PUSH(g_locations, this);
+    spawnfunc_target_location(this);
 }
 #endif