diff options
author | Max Horn | 2007-01-14 23:48:11 +0000 |
---|---|---|
committer | Max Horn | 2007-01-14 23:48:11 +0000 |
commit | 3c537cb3c92e288e83c08b8b5eaed4e2a6241f5e (patch) | |
tree | 650d81b8e2f38c1c58501b7230758c3ab442ec23 | |
parent | 90abeb5ae5e27cf14b40adb9d238deca5be9a267 (diff) | |
download | scummvm-rg350-3c537cb3c92e288e83c08b8b5eaed4e2a6241f5e.tar.gz scummvm-rg350-3c537cb3c92e288e83c08b8b5eaed4e2a6241f5e.tar.bz2 scummvm-rg350-3c537cb3c92e288e83c08b8b5eaed4e2a6241f5e.zip |
Zone names get free'd, so don't assign a static string to it (it causes a const warning, too)
svn-id: r25087
-rw-r--r-- | engines/parallaction/parallaction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/parallaction/parallaction.cpp b/engines/parallaction/parallaction.cpp index 781461f1e4..e2a7ded0c1 100644 --- a/engines/parallaction/parallaction.cpp +++ b/engines/parallaction/parallaction.cpp @@ -213,7 +213,7 @@ int Parallaction::init() { _yourself._zone._type = kZoneYou; _yourself._zone._label._data0 = NULL; - _yourself._zone._name = "yourself"; + _yourself._zone._name = strdup("yourself"); addNode(&_animations, &_yourself._zone._node); _graphics = new Graphics(this); |