Zone names get free'd, so don't assign a static string to it (it causes a const warning, too)

svn-id: r25087
This commit is contained in:
Max Horn 2007-01-14 23:48:11 +00:00
parent 90abeb5ae5
commit 3c537cb3c9

View File

@ -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);