From 856e281bf17a7adca88ded8bc93fd2e892bfa973 Mon Sep 17 00:00:00 2001 From: Tobia Tesan Date: Sat, 22 Feb 2014 11:35:34 +0100 Subject: WINTERMUTE: Remove useless constructor from SubtitleCard. --- engines/wintermute/video/subtitle_card.cpp | 4 ---- engines/wintermute/video/subtitle_card.h | 1 - 2 files changed, 5 deletions(-) (limited to 'engines') 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(); -- cgit v1.2.3