diff options
author | Max Horn | 2006-09-16 15:01:14 +0000 |
---|---|---|
committer | Max Horn | 2006-09-16 15:01:14 +0000 |
commit | a2dc897fe58e5521361a07b1e39a8b4c84d0dacf (patch) | |
tree | 623d9f98ca93a828bbe4fd05bf2f4735a181b950 /engines/saga | |
parent | 250133baf0f665deca81d20631df1299ca571b81 (diff) | |
download | scummvm-rg350-a2dc897fe58e5521361a07b1e39a8b4c84d0dacf.tar.gz scummvm-rg350-a2dc897fe58e5521361a07b1e39a8b4c84d0dacf.tar.bz2 scummvm-rg350-a2dc897fe58e5521361a07b1e39a8b4c84d0dacf.zip |
Reduce code duplication
svn-id: r23888
Diffstat (limited to 'engines/saga')
-rw-r--r-- | engines/saga/saga.cpp | 4 | ||||
-rw-r--r-- | engines/saga/saga.h | 2 |
2 files changed, 0 insertions, 6 deletions
diff --git a/engines/saga/saga.cpp b/engines/saga/saga.cpp index f952cdb60b..6094bc4387 100644 --- a/engines/saga/saga.cpp +++ b/engines/saga/saga.cpp @@ -142,10 +142,6 @@ SagaEngine::~SagaEngine() { delete _resource; } -void SagaEngine::errorString(const char *buf1, char *buf2) { - strcpy(buf2, buf1); -} - int SagaEngine::init() { _soundVolume = ConfMan.getInt("sfx_volume") / 25; _musicVolume = ConfMan.getInt("music_volume") / 25; diff --git a/engines/saga/saga.h b/engines/saga/saga.h index c9edbe9d46..91af7e3a7d 100644 --- a/engines/saga/saga.h +++ b/engines/saga/saga.h @@ -250,8 +250,6 @@ inline uint16 objectIndexToId(int type, int index) { class SagaEngine : public Engine { friend class Scene; - void errorString(const char *buf_input, char *buf_output); - protected: int go(); int init(); |