Merge pull request 'fix: double click to attack enemy.' (#73) from feature/develop_demo into develop
Reviewed-on: https://git.brew.monster/Unity/perfect-world-unity/pulls/73
This commit is contained in:
@@ -277,9 +277,12 @@ namespace BrewMonster
|
||||
CECNPC pNPC = EC_ManMessageMono.Instance._CECNPCMan.GetNPC(idObject);
|
||||
if (pNPC != null)
|
||||
{
|
||||
if (!pNPC.IsDead() /* && m_idSelTarget == idObject*/)
|
||||
if (!pNPC.IsDead() && m_idSelTarget == idObject)
|
||||
{
|
||||
idTraceTarget = idObject;
|
||||
}
|
||||
else
|
||||
{
|
||||
idSelTarget = idObject;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user