mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-18 08:18:27 +00:00
CreateSpawn2 converted to xyz_heading
This commit is contained in:
+1
-1
@@ -1980,7 +1980,7 @@ void command_dbspawn2(Client *c, const Seperator *sep)
|
||||
if(sep->IsNumber(5))
|
||||
cond_min = atoi(sep->arg[5]);
|
||||
}
|
||||
database.CreateSpawn2(c, atoi(sep->arg[1]), zone->GetShortName(), c->GetHeading(), c->GetX(), c->GetY(), c->GetZ(), atoi(sep->arg[2]), atoi(sep->arg[3]), cond, cond_min);
|
||||
database.CreateSpawn2(c, atoi(sep->arg[1]), zone->GetShortName(), c->GetPosition(), atoi(sep->arg[2]), atoi(sep->arg[3]), cond, cond_min);
|
||||
}
|
||||
else {
|
||||
c->Message(0, "Usage: #dbspawn2 spawngroup respawn variance [condition_id] [condition_min]");
|
||||
|
||||
Reference in New Issue
Block a user