mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-13 06:48:20 +00:00
[Objects] Add fix_z column to ground spawns (#3992)
* [Objects] Add is_floating column to objects/ground spawns # Notes - Allows ground spawns/objects to float without having `FixZ()` called. * Remove from object. * Database version * Fix * Change to fix_z
This commit is contained in:
@@ -154,13 +154,7 @@ void ObjectManipulation::CommandHandler(Client *c, const Seperator *sep)
|
||||
|
||||
const uint32 object_id = (ObjectRepository::GetMaxId(content_db) + 1);
|
||||
|
||||
Object *o = new Object(
|
||||
object_id,
|
||||
od.object_type,
|
||||
icon,
|
||||
od,
|
||||
nullptr
|
||||
);
|
||||
Object* o = new Object(object_id, od.object_type, icon, od);
|
||||
|
||||
entity_list.AddObject(o, true);
|
||||
|
||||
@@ -1237,7 +1231,8 @@ void ObjectManipulation::CommandHandler(Client *c, const Seperator *sep)
|
||||
od.object_type = ObjectTypes::StaticLocked;
|
||||
}
|
||||
|
||||
o = new Object(object_id, od.object_type, icon, od, nullptr);
|
||||
o = new Object(object_id, od.object_type, icon, od);
|
||||
|
||||
entity_list.AddObject(o, true);
|
||||
|
||||
c->Message(
|
||||
|
||||
Reference in New Issue
Block a user