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/agi | |
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/agi')
-rw-r--r-- | engines/agi/agi.cpp | 4 | ||||
-rw-r--r-- | engines/agi/agi.h | 2 |
2 files changed, 0 insertions, 6 deletions
diff --git a/engines/agi/agi.cpp b/engines/agi/agi.cpp index 2c083959de..a12b83cd67 100644 --- a/engines/agi/agi.cpp +++ b/engines/agi/agi.cpp @@ -560,10 +560,6 @@ AgiEngine::~AgiEngine() { delete _console; } -void AgiEngine::errorString(const char *buf1, char *buf2) { - strcpy(buf2, buf1); -} - int AgiEngine::init() { // Initialize backend _system->beginGFXTransaction(); diff --git a/engines/agi/agi.h b/engines/agi/agi.h index 424c402b36..6955ff3636 100644 --- a/engines/agi/agi.h +++ b/engines/agi/agi.h @@ -229,8 +229,6 @@ extern const char *_savePath; class AgiEngine : public ::Engine { int _gameId; - void errorString(const char *buf_input, char *buf_output); - protected: int init(); int go(); |