aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobia Tesan2014-02-22 11:35:34 +0100
committerTobia Tesan2014-10-15 21:36:46 +0200
commit856e281bf17a7adca88ded8bc93fd2e892bfa973 (patch)
tree5a3aabefa09177ce867e798562d6b7596f8c3f85
parent5f25cf1bd731ed2bae852610c74a9917942ab883 (diff)
downloadscummvm-rg350-856e281bf17a7adca88ded8bc93fd2e892bfa973.tar.gz
scummvm-rg350-856e281bf17a7adca88ded8bc93fd2e892bfa973.tar.bz2
scummvm-rg350-856e281bf17a7adca88ded8bc93fd2e892bfa973.zip
WINTERMUTE: Remove useless constructor from SubtitleCard.
-rw-r--r--engines/wintermute/video/subtitle_card.cpp4
-rw-r--r--engines/wintermute/video/subtitle_card.h1
2 files changed, 0 insertions, 5 deletions
diff --git a/engines/wintermute/video/subtitle_card.cpp b/engines/wintermute/video/subtitle_card.cpp
index c0ad8cc1d7..a0a88b12be 100644
--- a/engines/wintermute/video/subtitle_card.cpp
+++ b/engines/wintermute/video/subtitle_card.cpp
@@ -31,10 +31,6 @@
namespace Wintermute {
-SubtitleCard::SubtitleCard(BaseGame *inGame) {
- _gameRef = inGame;
- _startFrame = _endFrame = 0;
-}
SubtitleCard::SubtitleCard(BaseGame *inGame, const Common::String &text, const uint &startFrame, const uint &endFrame) {
// TODO: Fix expandStringByStringTable instead of this ugly hack
diff --git a/engines/wintermute/video/subtitle_card.h b/engines/wintermute/video/subtitle_card.h
index 94543d93fa..6f2e47fe2b 100644
--- a/engines/wintermute/video/subtitle_card.h
+++ b/engines/wintermute/video/subtitle_card.h
@@ -37,7 +37,6 @@ class BaseGame;
class SubtitleCard {
public:
- SubtitleCard(BaseGame *inGame);
SubtitleCard(BaseGame *inGame, const Common::String &text, const uint &startFrame, const uint &endFrame);
uint32 getEndFrame();
uint32 getStartFrame();