Initial character creation escape sequences

Added initial skill/language/bind saves to character creation
This commit is contained in:
Akkadius
2014-09-11 03:14:34 -05:00
parent d7dc733480
commit e390531dcd
5 changed files with 98 additions and 30 deletions
+1 -1
View File
@@ -571,7 +571,7 @@ void Client::Handle_Connect_OP_ZoneEntry(const EQApplicationPacket *app) {
results = database.QueryDatabase(query);
for (auto row = results.begin(); row != results.end(); ++row) {
m_pp.lastlogin = time(nullptr);
if (atoi(row[4]) > 0){
if (row[4] && atoi(row[4]) > 0){
guild_id = atoi(row[4]);
if (row[5] != nullptr){ guildrank = atoi(row[5]); }
else{ guildrank = GUILD_RANK_NONE; }