respect character role

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@627 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
Giles Williams 2006-06-29 12:27:29 +00:00
parent a8680bc510
commit 2aa9a99f9b

View File

@ -436,7 +436,7 @@ Your fair use and other rights are in no way affected by the above.
[self basicSetUp];
}
if ([dict objectForKey:@"role"])
[self castInRole:[dict objectForKey:@"name"]];
[self castInRole:[dict objectForKey:@"role"]];
if ([dict objectForKey:@"name"])
[self setName:[dict objectForKey:@"name"]];
if ([dict objectForKey:@"short_description"])