arcemu/arcemu — pull request #133 by Artox (2012-02-21 23:40:24+00:00)
Title: Implement Script effect for Spell 8856 and fix ArcScripts sEAS.WaypointCreate()

title says it all:

Implemented Script effect for spell 8856 which fixes quest 1846

sEAS.WaypointCreate() was numerating waypoints bad(1,3,5,etc) and also Creature::m_custom_waypoints was beeing filled that way(field 0 : NULL, field 1 : somewaypoint, field 2 : NULL, field 3 : somewaypoint, etc)
Correct way is 1,2,3,etc