Ignore:
Timestamp:
2013-07-24 23:56:47 (6 years ago)
Author:
dezhidki
Message:

Muokattu sotilaita viimeiseen muotoon.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2013/30/DenisZ/CastleMaster/CastleMaster/CastleMaster/Players/PlayerReal.cs

    r4635 r4646  
    8282                    selectedMobUnits.Clear(); 
    8383 
     84                    if (selectedUnit != null) 
     85                        selectedUnit.IsSelected = false; 
     86                    selectedUnit = null; 
    8487                    if (u != null) 
    8588                    { 
     
    97100            { 
    98101                if (selectedUnit != null) 
    99                     selectedUnit.OnFunctionClick(camera.MouseWorldPos.X, camera.MouseWorldPos.Y, false); 
     102                    selectedUnit.OnFunctionClick(camera.MouseWorldPos.X, camera.MouseWorldPos.Y, 1, false); 
    100103                else if (selectedMobUnits.Count > 0) 
    101104                    selectedMobUnits[0].OnGroupOrder(selectedMobUnits, camera.MouseWorldPos.X, camera.MouseWorldPos.Y); 
Note: See TracChangeset for help on using the changeset viewer.