Small fix for previous revision

--HG--
branch : trunk
This commit is contained in:
Shauren
2010-07-27 19:28:02 +02:00
parent de2f63bcfb
commit 4ea385ec50
+2 -1
View File
@@ -3601,7 +3601,8 @@ void Map::ScriptsProcess()
break;
}
bool triggered = step.script->dataint & 0x1;
// sorry, no triggered for case 4 yet
bool triggered = step.script->dataint & 0x1 && step.script->datalong2 != 4;
uSource->CastSpell(uTarget, step.script->datalong, triggered);
break;
}