summaryrefslogtreecommitdiff
path: root/src/Game/AI/Query/queryCompareGameDataInt.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2021-03-26 13:54:59 +0100
committerLéo Lam <leo@leolam.fr>2021-03-26 13:54:59 +0100
commit6888632132239baba584c2dc4a51d8946e748f5e (patch)
treef597e17762d94f5a55780e09658a2c76f1339482 /src/Game/AI/Query/queryCompareGameDataInt.cpp
parentbc8b8d5829182beb053a83dbe3530133afb64d76 (diff)
query: Fix matching issues
Diffstat (limited to 'src/Game/AI/Query/queryCompareGameDataInt.cpp')
-rw-r--r--src/Game/AI/Query/queryCompareGameDataInt.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Game/AI/Query/queryCompareGameDataInt.cpp b/src/Game/AI/Query/queryCompareGameDataInt.cpp
index 429f058e..89a596c6 100644
--- a/src/Game/AI/Query/queryCompareGameDataInt.cpp
+++ b/src/Game/AI/Query/queryCompareGameDataInt.cpp
@@ -42,14 +42,14 @@ int CompareGameDataInt::doQuery() {
void CompareGameDataInt::loadParams(const evfl::QueryArg& arg) {
loadString(arg.param_accessor, "GameDataIntName_A");
- loadString(arg.param_accessor, "GameDataIntName_B");
loadString(arg.param_accessor, "Operator");
+ loadString(arg.param_accessor, "GameDataIntName_B");
}
void CompareGameDataInt::loadParams() {
getDynamicParam(&mGameDataIntName_A, "GameDataIntName_A");
- getDynamicParam(&mGameDataIntName_B, "GameDataIntName_B");
getDynamicParam(&mOperator, "Operator");
+ getDynamicParam(&mGameDataIntName_B, "GameDataIntName_B");
}
} // namespace uking::query