Jump to content

[7535] 7533 Typo


Recommended Posts

Posted

I think there was a typo in 7533...

// if we boarded a transport, add us to it
if (plMover && plMover->m_transport)
{
...
}
else if (plMover && plMover->m_transport)               // if we were on a transport, leave
{
....
}

Is what the new code reads, but the second part will never get executed as far as I know, because it's exactly the same as the first.

I think the first should've been.

if (plMover && !plMover->m_transport)

Because before that commit it was

if (!GetPlayer()->m_transport)

~maikash

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use