make trigger_warpzone_reconnect work, and give it the alias target_warpzone_reconnect
authorRudolf Polzer <divverent@alientrap.org>
Fri, 25 Jun 2010 10:36:26 +0000 (12:36 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Fri, 25 Jun 2010 10:36:26 +0000 (12:36 +0200)
qcsrc/warpzonelib/server.qc

index 4f8d83ac64c6a0e765249fd778be5737ca0ee992..c156299c6967c96bddf44661b8c1f32f6fe203c3 100644 (file)
@@ -546,7 +546,7 @@ void WarpZone_StartFrame()
                WarpZone_StoreProjectileData(e);
 }
 
-void target_warpzone_reconnect_use()
+void trigger_warpzone_reconnect_use()
 {
        entity e;
        e = self;
@@ -564,7 +564,12 @@ void target_warpzone_reconnect_use()
        self = e;
 }
 
-void trigger_warpzone_reconnect()
+void spawnfunc_trigger_warpzone_reconnect()
 {
-       self.use = target_warpzone_reconnect_use;
+       self.use = trigger_warpzone_reconnect_use;
+}
+
+void spawnfunc_target_warpzone_reconnect()
+{
+       spawnfunc_trigger_warpzone_reconnect(); // both names make sense here :(
 }