diff options
| author | Mittendrein Markus <maxmitti@gmx.net> | 2016-03-04 15:33:42 +0100 |
|---|---|---|
| committer | Mittendrein Markus <maxmitti@gmx.net> | 2016-03-04 20:20:32 +0100 |
| commit | 5a6655580c48676900dbddc3073bf2ece11705e6 (patch) | |
| tree | 05166482e8fa1ec7f79b8fcc3db9309205734b01 /TemplePushing.c4s | |
| parent | 88928f4ad64f6dfae88d7c1e6bfa17ee72b4620e (diff) | |
| download | tempelschubsen-5a6655580c48676900dbddc3073bf2ece11705e6.tar.gz tempelschubsen-5a6655580c48676900dbddc3073bf2ece11705e6.zip | |
Remove senseless gamma-options from Spawn Point Spawner
Diffstat (limited to 'TemplePushing.c4s')
| -rw-r--r-- | TemplePushing.c4s/Misc.c4d/SpawnPointSpawner.c4d/Script.c | 10 |
1 files changed, 1 insertions, 9 deletions
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) |
