Fixed subentity flasher on/off code.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1580 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
Jens Ayton 2008-04-23 00:39:13 +00:00
parent c2a748ab52
commit 3046e3072f

View File

@ -7059,7 +7059,7 @@ int w_space_seed = 1234567;
{
[se setStatus:STATUS_EFFECT];
}
for (subEnum = [self subEntityEnumerator]; (sub = [subEnum nextObject]); )
for (subEnum = [self shipSubEntityEnumerator]; (sub = [subEnum nextObject]); )
{
[sub switchLightsOn];
}
@ -7076,9 +7076,9 @@ int w_space_seed = 1234567;
{
[se setStatus:STATUS_INACTIVE];
}
for (subEnum = [self subEntityEnumerator]; (sub = [subEnum nextObject]); )
for (subEnum = [self shipSubEntityEnumerator]; (sub = [subEnum nextObject]); )
{
[sub switchLightsOn];
[sub switchLightsOff];
}
}