mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-11 11:48:37 +00:00
More cleanup of some QueryDatabase references that no longer need auto results
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user