Core/Misc: Refactor scripts to fix static analysis warnings

This commit is contained in:
jackpoz committed 2014-09-03 22:11:41 +02:00
1 parent beaf778a30
commit 53d3becf3c
56 files changed
+1121 -481

No files matched your search

@@ -178,16 +178,22 @@ public:
{
npc_rinjiAI(Creature* creature) : npc_escortAI(creature)
{
Initialize();
_IsByOutrunner = false;
spawnId = 0;
}
void Reset() override
void Initialize()
{
postEventCount = 0;
postEventTimer = 3000;
}
void Reset() override
{
Initialize();
}
void JustRespawned() override
{
_IsByOutrunner = false;