Removed some instances of access to screen surface
This commit is contained in:
1 parent
00c1a4ef76
commit
7c58a46279
20 files changed
+102
-103
No files matched your search
@@ -69,7 +69,7 @@ CWindowObject::CWindowObject(int options_, std::string imageName):
|
||||
if(background)
|
||||
pos = background->center();
|
||||
else
|
||||
center(Point(screen->w/2, screen->h/2));
|
||||
center(GH.screenDimensions() / 2);
|
||||
|
||||
if(!(options & SHADOW_DISABLED))
|
||||
setShadow(true);
|
||||
|
||||
Reference in new issue
Block a user