diff options
Diffstat (limited to 'saga/game.cpp')
-rw-r--r-- | saga/game.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/saga/game.cpp b/saga/game.cpp index 6dd41638ad..f03680647e 100644 --- a/saga/game.cpp +++ b/saga/game.cpp @@ -854,7 +854,7 @@ int SagaEngine::loadGame(int gameNumber) { _gameFileContexts = (RSCFILE_CONTEXT **)realloc(_gameFileContexts, gameFileCount * sizeof(*_gameFileContexts)); //TODO: on exit - FREE! if (_gameFileContexts == NULL) { - error("SagaEngine::loadGame not enough memory"); + memoryError("SagaEngine::loadGame"); } |