Core/DBLayer: Fix a silly error in HandleStableSwapPet (synchronous query in async context). Fixes possible loss of pets when swapping.
This commit is contained in:
1 parent
4b0acb7432
commit
17aeeaa9b5
2 files changed
+3
-1
No files matched your search
@@ -35,6 +35,7 @@ class QueryCallback
|
||||
public:
|
||||
QueryCallback() {}
|
||||
|
||||
//! The parameter of this function should be a resultset returned from either .AsyncQuery or .AsyncPQuery
|
||||
void SetFutureResult(ACE_Future<Result> value)
|
||||
{
|
||||
result = value;
|
||||
@@ -81,6 +82,7 @@ class QueryCallback_2
|
||||
public:
|
||||
QueryCallback_2() {}
|
||||
|
||||
//! The parameter of this function should be a resultset returned from either .AsyncQuery or .AsyncPQuery
|
||||
void SetFutureResult(ACE_Future<Result> value)
|
||||
{
|
||||
result = value;
|
||||
|
||||
Reference in new issue
Block a user