1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-18 11:19:10 +00:00

Corrections as proposed by @branan.

This commit is contained in:
Darryl Pogue
2012-12-15 18:23:33 -08:00
parent a92fbea356
commit 64214e1a7b
3 changed files with 9 additions and 4 deletions

View File

@ -90,7 +90,7 @@ void plLightModifier::AddTarget(plSceneObject* so)
void plLightModifier::RemoveTarget(plSceneObject* so)
{
if ((so = fTarget))
if (so == fTarget)
fLight = nil;
plSimpleModifier::RemoveTarget(so);
}