git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1229 993157c7-ee19-0410-b2c4-bb4e9862e678

This commit is contained in:
chrisf
2007-07-14 07:18:39 +00:00
parent 9f364cfdc7
commit dc64b74ceb

View File

@@ -89,14 +89,13 @@ namespace OpenRa.Game
{
base.OnMouseMove(e);
if (e.Button == 0)
return;
if (e.Button != 0)
{
float2 p = new float2(e.Location);
viewport.Scroll(lastPos - p);
lastPos = p;
}
}
void Frame()
{