AzaezelX преди 4 месеца
родител
ревизия
73af7f6c3e
променени са 1 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 4 4
      Engine/source/gui/game/guiIdleCamFadeBitmapCtrl.cpp

+ 4 - 4
Engine/source/gui/game/guiIdleCamFadeBitmapCtrl.cpp

@@ -115,14 +115,14 @@ public:
       }
 
       ColorI color(255,255,255,alpha);
-      if (mBitmap)
+      if (getBitmap())
       {
          GFX->getDrawUtil()->setBitmapModulation(color);
 
          if(mWrap)
          {
 
-            GFXTextureObject* texture = mBitmap;
+            GFXTextureObject* texture = getBitmap();
             RectI srcRegion;
             RectI dstRegion;
             F32 xdone = ((F32)getExtent().x/(F32)texture->mBitmapSize.x)+1;
@@ -145,11 +145,11 @@ public:
          else
          {
             RectI rect(offset, getExtent());
-            GFX->getDrawUtil()->drawBitmapStretch(mBitmap, rect);
+            GFX->getDrawUtil()->drawBitmapStretch(getBitmap(), rect);
          }
       }
 
-      if (mProfile->mBorder || !mBitmap)
+      if (mProfile->mBorder || !getBitmap())
       {
          RectI rect(offset.x, offset.y, getExtent().x, getExtent().y);
          ColorI borderCol(mProfile->mBorderColor);