Respect config.ini GM settings

This commit is contained in:
darkredtitan 2020-09-20 19:53:33 +02:00
parent 228a181b74
commit 6eb21e6d67

View File

@ -159,7 +159,7 @@ int Database::createCharacter(sP_CL2LS_REQ_SAVE_CHAR_NAME* save, int AccountID)
create.Height = 0; create.Height = 0;
create.Level = 1; create.Level = 1;
create.SkinColor = 1; create.SkinColor = 1;
create.isGM = false; create.isGM = settings::GM;
create.x_coordinates = settings::SPAWN_X; create.x_coordinates = settings::SPAWN_X;
create.y_coordinates = settings::SPAWN_Y; create.y_coordinates = settings::SPAWN_Y;
create.z_coordinates = settings::SPAWN_Z; create.z_coordinates = settings::SPAWN_Z;