fix failed refactoring, and round renderLocation to avoid pixel-jumping
git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1284 993157c7-ee19-0410-b2c4-bb4e9862e678
This commit is contained in:
@@ -89,8 +89,6 @@ namespace OpenRa.Game
|
||||
|
||||
if (e.Button == MouseButtons.Left)
|
||||
{
|
||||
//MoveOrder order = new MoveOrder(lastPos + viewport.Location);
|
||||
//myUnit.Accept(order);
|
||||
int x = (int)( ( e.X + viewport.Location.X ) / 24 );
|
||||
int y = (int)( ( e.Y + viewport.Location.Y ) / 24 );
|
||||
myUnit.Order( x, y ).Apply();
|
||||
|
||||
Reference in New Issue
Block a user