This PR removes the unused locals s_IsOtherTracePath, s_NextIndex, s_LastIndex, s_CurrentPathIndex, s_Chance, s_Found and an m_Logger object. Also, due to their rounding errors, it's better to avoid comparations (== and ~=) between float numbers, so it fixes this. Double quotes were replaced by single quotes, as an attempt to standardize string representation in these files. It fixes a typo in the m_Logger in BotMovement.lua. Finally, it comments an if statement that's not being used in NodeCollection.lua, this statement is disabled since it's always false.
This PR removes the unused locals
s_IsOtherTracePath
,s_NextIndex
,s_LastIndex
,s_CurrentPathIndex
,s_Chance
,s_Found
and anm_Logger
object. Also, due to their rounding errors, it's better to avoid comparations (==
and~=
) between float numbers, so it fixes this. Double quotes were replaced by single quotes, as an attempt to standardize string representation in these files. It fixes a typo in them_Logger
inBotMovement.lua
. Finally, it comments an if statement that's not being used inNodeCollection.lua
, this statement is disabled since it's always false.