Fix (lack of) death_actions.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1057 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
Nikos Barkas 2007-07-03 06:12:58 +00:00
parent 99beca0c17
commit 6fd8ba7ee2

View File

@ -359,8 +359,8 @@ static NSString * const kOOLogEntityBehaviourChanged = @"entity.behaviour.change
// scripting // scripting
// TODO: use OOScript here. -- Ahruman // TODO: use OOScript here. -- Ahruman
launch_actions = [[shipDict arrayForKey:KEY_LAUNCH_ACTIONS] copy]; launch_actions = [[shipDict arrayForKey:KEY_LAUNCH_ACTIONS] copy];
script_actions = [[shipDict arrayForKey:KEY_LAUNCH_ACTIONS] copy]; script_actions = [[shipDict arrayForKey:KEY_SCRIPT_ACTIONS] copy];
death_actions = [[shipDict arrayForKey:KEY_LAUNCH_ACTIONS] copy]; death_actions = [[shipDict arrayForKey:KEY_DEATH_ACTIONS] copy];
NSArray *setUpActions = [shipDict arrayForKey:KEY_SETUP_ACTIONS]; NSArray *setUpActions = [shipDict arrayForKey:KEY_SETUP_ACTIONS];
if (setUpActions != nil) if (setUpActions != nil)
{ {