GOB: Replaced many uses of strdupcpy by Common::String
svn-id: r41077
This commit is contained in:
parent
010fbadf01
commit
400d2b10af
21 changed files with 67 additions and 86 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue