Code cleanup (#195)
This commit is contained in:
parent
b476bcfd24
commit
0926b5abaa
86 changed files with 740 additions and 1635 deletions
|
|
@ -431,7 +431,7 @@ namespace Server.Engines.Quests
|
|||
return false;
|
||||
}
|
||||
|
||||
doneQuests.RemoveAt(i--);
|
||||
doneQuests.RemoveAt(i);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
@ -444,18 +444,7 @@ namespace Server.Engines.Quests
|
|||
if (Utility.RandomBool())
|
||||
who.Animate(17, 7, 1, true, false, 0);
|
||||
else
|
||||
switch (Utility.Random(3))
|
||||
{
|
||||
case 0:
|
||||
who.Animate(32, 7, 1, true, false, 0);
|
||||
break;
|
||||
case 1:
|
||||
who.Animate(33, 7, 1, true, false, 0);
|
||||
break;
|
||||
case 2:
|
||||
who.Animate(34, 7, 1, true, false, 0);
|
||||
break;
|
||||
}
|
||||
who.Animate(32 + Utility.Random(3), 7, 1, true, false, 0);
|
||||
|
||||
who.Direction = who.GetDirectionTo(to);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue