Modernization Fixes & Updates to Default Values (#3)
This commit is contained in:
parent
445eddff68
commit
dcf64091b1
768 changed files with 10507 additions and 14196 deletions
|
|
@ -173,22 +173,17 @@ namespace Server.Items
|
|||
|
||||
IEntity to = p as IEntity ?? new Entity(Serial.Zero, new Point3D(p), Map);
|
||||
|
||||
Effects.SendMovingEffect(from, to, ItemID, 7, 0, false, false, Hue, 0);
|
||||
Effects.SendMovingEffect(from, to, ItemID, 7, 0, false, false, Hue);
|
||||
|
||||
Timer.DelayCall(TimeSpan.FromSeconds(1.0), new TimerStateCallback(FirebombReposition_OnTick),
|
||||
new object[] { p, Map });
|
||||
Timer.DelayCall(TimeSpan.FromSeconds(1.0), () => FirebombReposition_OnTick(p, Map));
|
||||
Internalize();
|
||||
}
|
||||
|
||||
private void FirebombReposition_OnTick(object state)
|
||||
private void FirebombReposition_OnTick(IPoint3D p, Map map)
|
||||
{
|
||||
if (Deleted)
|
||||
return;
|
||||
|
||||
object[] states = (object[])state;
|
||||
IPoint3D p = (IPoint3D)states[0];
|
||||
Map map = (Map)states[1];
|
||||
|
||||
MoveToWorld(new Point3D(p), map);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue