Add support for NPC-based start of playing moviesequence + clean up indenting on earlier commit

--HG--
branch : trunk
This commit is contained in:
click
2010-05-10 13:27:18 +02:00
parent 5b20d478ff
commit d79f6295aa
3 changed files with 13 additions and 3 deletions
+10
View File
@@ -3726,6 +3726,16 @@ void Map::ScriptsProcess()
break;
}
case SCRIPT_COMMAND_PLAYMOVIE:
{
if (!source)
{
sLog.outError("SCRIPT_COMMAND_PLAYMOVIE call for NULL creature.");
break;
}
player->SendMovieStart(step.script->datalong);
break;
}
default:
sLog.outError("Unknown script command %u called.",step.script->command);
break;