Creates random element extension (#196)
This commit is contained in:
parent
0926b5abaa
commit
4403d6c1c7
84 changed files with 226 additions and 330 deletions
|
|
@ -263,8 +263,7 @@ namespace Server.Menus.Questions
|
|||
return;
|
||||
}
|
||||
|
||||
int idx = Utility.Random(m_Destination.Locations.Length);
|
||||
Point3D dest = m_Destination.Locations[idx];
|
||||
Point3D dest = m_Destination.Locations.RandomElement();
|
||||
|
||||
Map destMap;
|
||||
if (m_Mobile.Map == Map.Trammel)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue