Remove the need for all cControl subclasses to be friends of cDialog
(Now only cControl itself is a friend.)
This commit is contained in:
@@ -522,7 +522,7 @@ void cPict::draw(){
|
||||
|
||||
if(!visible){ // Erase it
|
||||
rect.inset(-3, -3);
|
||||
tileImage(*inWindow,rect,bg_gworld,bg[parent->bg]);
|
||||
tileImage(*inWindow,rect,bg_gworld,bg[parent->getBg()]);
|
||||
return;
|
||||
}
|
||||
if(picNum < 0) { // Just fill with black
|
||||
|
Reference in New Issue
Block a user