Implement zone based gravity, required SQL DB change

- To test `zone` table `gravity` values, change the value and use #zheader <zoneshortname> to test
This commit is contained in:
Akkadius
2015-02-12 22:09:17 -06:00
parent fd45e8d21d
commit a544c681c7
6 changed files with 126 additions and 68 deletions
+2
View File
@@ -655,6 +655,8 @@ bool ZoneDatabase::LoadDoors(int32 iDoorCount, Door *into, const char *zone_name
into[rowIndex].db_id = atoi(row[0]);
into[rowIndex].door_id = atoi(row[1]);
Log.Out(Logs::Detail, Logs::Doors, "Door Load: db id: %u, door_id %u", into[rowIndex].db_id, into[rowIndex].door_id);
strn0cpy(into[rowIndex].zone_name,row[2],32);
strn0cpy(into[rowIndex].door_name,row[3],32);