mirror of https://github.com/AxioDL/metaforce.git
Merge pull request #178 from lioncash/data
CScriptGunTurret: Remove unnecessary data() call in AcceptScriptMsg()
This commit is contained in:
commit
366d6b96ee
|
@ -207,7 +207,7 @@ void CScriptGunTurret::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId uid,
|
|||
if (x478_targettingLight->SystemHasLight()) {
|
||||
x498_lightId = mgr.AllocateUniqueId();
|
||||
mgr.AddObject(new CGameLight(x498_lightId, GetAreaIdAlways(), GetActive(),
|
||||
std::string("ParticleLight_") + GetName().data(), GetTransform(), GetUniqueId(),
|
||||
std::string("ParticleLight_").append(GetName()), GetTransform(), GetUniqueId(),
|
||||
x478_targettingLight->GetLight(), 0, 1, 0.f));
|
||||
}
|
||||
SetupCollisionManager(mgr);
|
||||
|
|
Loading…
Reference in New Issue