aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/gfx
diff options
context:
space:
mode:
authorEugene Sandulenko2010-09-25 19:48:12 +0000
committerEugene Sandulenko2010-10-13 00:01:40 +0000
commitf85139bbfa3b4e7032c22466c1f4b76e67c36175 (patch)
tree9656ab346b2b373ea96dd40ebda6d18525e7672d /engines/sword25/gfx
parent2143afde6cfd3ee3f068861589fd45212ef755de (diff)
downloadscummvm-rg350-f85139bbfa3b4e7032c22466c1f4b76e67c36175.tar.gz
scummvm-rg350-f85139bbfa3b4e7032c22466c1f4b76e67c36175.tar.bz2
scummvm-rg350-f85139bbfa3b4e7032c22466c1f4b76e67c36175.zip
SWORD25: Remove redundant code
svn-id: r53378
Diffstat (limited to 'engines/sword25/gfx')
-rw-r--r--engines/sword25/gfx/image/b25sloader.h2
-rw-r--r--engines/sword25/gfx/image/pngloader.h2
2 files changed, 0 insertions, 4 deletions
diff --git a/engines/sword25/gfx/image/b25sloader.h b/engines/sword25/gfx/image/b25sloader.h
index 8ca8da0f97..fbfaf87194 100644
--- a/engines/sword25/gfx/image/b25sloader.h
+++ b/engines/sword25/gfx/image/b25sloader.h
@@ -51,9 +51,7 @@ namespace Sword25 {
class B25SLoader : public ImageLoader {
public:
static ImageLoader *CreateInstance() {
-#include "sword25/kernel/memlog_off.h"
return static_cast<ImageLoader *>(new B25SLoader());
-#include "sword25/kernel/memlog_on.h"
}
protected:
diff --git a/engines/sword25/gfx/image/pngloader.h b/engines/sword25/gfx/image/pngloader.h
index 0368c9cdb4..44c31b267c 100644
--- a/engines/sword25/gfx/image/pngloader.h
+++ b/engines/sword25/gfx/image/pngloader.h
@@ -53,9 +53,7 @@ namespace Sword25 {
class PNGLoader : public ImageLoader {
public:
static ImageLoader *CreateInstance() {
-#include "sword25/kernel/memlog_off.h"
return (ImageLoader *) new PNGLoader();
-#include "sword25/kernel/memlog_on.h"
}
// Alle virtuellen Methoden von BS_ImageLoader sind hier als static-Methode implementiert, damit sie von BS_B25SLoader aufgerufen werden können.