mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-16 01:01:30 +00:00
More cleanup of some QueryDatabase references that no longer need auto results
This commit is contained in:
parent
98a49ad086
commit
acb677a4ba
@ -5382,14 +5382,12 @@ bool Client::TryReward(uint32 claim_id) {
|
||||
"WHERE account_id = %i AND reward_id = %i",
|
||||
AccountID(), claim_id);
|
||||
auto results = database.QueryDatabase(query);
|
||||
if(!results.Success())
|
||||
}
|
||||
else {
|
||||
query = StringFormat("UPDATE account_rewards SET amount = (amount-1) "
|
||||
"WHERE account_id = %i AND reward_id = %i",
|
||||
AccountID(), claim_id);
|
||||
auto results = database.QueryDatabase(query);
|
||||
if(!results.Success())
|
||||
}
|
||||
|
||||
InternalVeteranReward ivr = (*iter);
|
||||
|
||||
@ -2852,9 +2852,7 @@ void ZoneDatabase::SaveBuffs(Client *client) {
|
||||
buffs[index].magic_rune, buffs[index].persistant_buff, buffs[index].dot_rune,
|
||||
buffs[index].caston_x, buffs[index].caston_y, buffs[index].caston_z,
|
||||
buffs[index].ExtraDIChance);
|
||||
auto results = QueryDatabase(query);
|
||||
if (!results.Success())
|
||||
|
||||
QueryDatabase(query);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user