1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

simplified

This commit is contained in:
Laserlicht
2023-09-17 21:41:55 +02:00
committed by GitHub
parent 05fad115b5
commit 21f37cfafb
3 changed files with 99 additions and 127 deletions

View File

@@ -100,7 +100,7 @@ public:
Rect resize(const int size) const
{
return Rect(x-size,y-size,w+size,h+size);
return Rect(x-size,y-size,w+2*size,h+2*size);
}
void moveTo(const Point & dest)