From 5a6655580c48676900dbddc3073bf2ece11705e6 Mon Sep 17 00:00:00 2001 From: Mittendrein Markus Date: Fri, 4 Mar 2016 15:33:42 +0100 Subject: Remove senseless gamma-options from Spawn Point Spawner --- TemplePushing.c4s/Misc.c4d/SpawnPointSpawner.c4d/Script.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'TemplePushing.c4s') diff --git a/TemplePushing.c4s/Misc.c4d/SpawnPointSpawner.c4d/Script.c b/TemplePushing.c4s/Misc.c4d/SpawnPointSpawner.c4d/Script.c index 380ee86..a15661c 100644 --- a/TemplePushing.c4s/Misc.c4d/SpawnPointSpawner.c4d/Script.c +++ b/TemplePushing.c4s/Misc.c4d/SpawnPointSpawner.c4d/Script.c @@ -4,15 +4,12 @@ local locations, definitions, spawnInterval; local sumProbability; -local gamma; public func CreateSpawnPoints() { for (var pos in locations) { - var spawnpoint = CreateObject(SNPT, pos[0], pos[1], NO_OWNER); - if (gamma) spawnpoint->SetGamma(gamma[0], gamma[1], gamma[2]); - spawnpoint->Enable(this); + CreateObject(SNPT, pos[0], pos[1], NO_OWNER)->Enable(this); } } @@ -34,11 +31,6 @@ public func SetDefinitions(array definitions) } } -public func SetSpawnpointGamma(int color1, int color2, int color3) -{ - gamma = [color1, color2, color3]; -} - public func GetSpawnInterval() { return spawnInterval; } public func SetSpawnInterval(int spawnInterval) -- cgit v1.2.3-54-g00ecf