mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
vcmi:towns now can choose if moat render is needed
Using invalid points. Also removed unused variable.
This commit is contained in:
@ -53,8 +53,6 @@ void CursorSoftware::createTexture(const Point & dimensions)
|
||||
|
||||
void CursorSoftware::updateTexture()
|
||||
{
|
||||
Point dimensions(-1, -1);
|
||||
|
||||
if (!cursorSurface || Point(cursorSurface->w, cursorSurface->h) != cursorImage->dimensions())
|
||||
createTexture(cursorImage->dimensions());
|
||||
|
||||
|
Reference in New Issue
Block a user