mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-23 20:39:57 +00:00
remove unuseful std::cout
This commit is contained in:
parent
2dd329938a
commit
8e299bd25b
1 changed files with 0 additions and 1 deletions
|
@ -140,7 +140,6 @@ namespace MWGui
|
||||||
MyGUI::IntPoint middle = MyGUI::IntPoint(x*size.width,y*size.height);
|
MyGUI::IntPoint middle = MyGUI::IntPoint(x*size.width,y*size.height);
|
||||||
MyGUI::IntCoord viewsize = mMap->getCoord();
|
MyGUI::IntCoord viewsize = mMap->getCoord();
|
||||||
MyGUI::IntPoint pos(0.5*viewsize.width - middle.left, 0.5*viewsize.height - middle.top);
|
MyGUI::IntPoint pos(0.5*viewsize.width - middle.left, 0.5*viewsize.height - middle.top);
|
||||||
std::cout << pos.left << " top " << pos.top << std::endl;
|
|
||||||
mMap->setViewOffset(pos);
|
mMap->setViewOffset(pos);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue