GOB: Replaced many uses of strdupcpy by Common::String

svn-id: r41077
This commit is contained in:
Max Horn 2009-05-31 16:59:45 +00:00
parent 010fbadf01
commit 400d2b10af
21 changed files with 67 additions and 86 deletions

View file

@ -3468,14 +3468,14 @@ namespace Gob {
void GobEngine::initGame(const GOBGameDescription *gd) {
if (gd->startTotBase == 0)
_startTot = strdupcpy("intro.tot");
_startTot = "intro.tot";
else
_startTot = strdupcpy(gd->startTotBase);
_startTot = gd->startTotBase;
if (gd->startStkBase == 0)
_startStk = strdupcpy("intro.stk");
_startStk = "intro.stk";
else
_startStk = strdupcpy(gd->startStkBase);
_startStk = gd->startStkBase;
_demoIndex = gd->demoIndex;