From 58ec0f0aadd5228732a3c5915b9a94ec00e9cc53 Mon Sep 17 00:00:00 2001 From: Andrew Kurushin Date: Fri, 21 Jan 2005 21:55:54 +0000 Subject: problems solved: - Allow more than one script work at once - Proper implementation of address methods some opcodes may be broken - cause work in progress todo: rewrite opcodes with new address functionality svn-id: r16604 --- saga/game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'saga/game.cpp') 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"); } -- cgit v1.2.3