aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2024-06-04 10:25:55 +0200
committerBenoit Germain <benoit.germain@ubisoft.com>2024-06-04 10:25:55 +0200
commit901ed6e98987a9e02bca8330973f19a34e55bd50 (patch)
treefc16216361b2073636a605deb31b65c445169444 /src
parent3a86e1f2fde002199fff0ca4bb2ed4674b32ec8e (diff)
downloadlanes-901ed6e98987a9e02bca8330973f19a34e55bd50.tar.gz
lanes-901ed6e98987a9e02bca8330973f19a34e55bd50.tar.bz2
lanes-901ed6e98987a9e02bca8330973f19a34e55bd50.zip
Fix linda.batched mode broken by previous change
Diffstat (limited to 'src')
-rw-r--r--src/linda.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linda.cpp b/src/linda.cpp
index f1a99fd..12b5e8a 100644
--- a/src/linda.cpp
+++ b/src/linda.cpp
@@ -461,7 +461,7 @@ LUAG_FUNC(linda_receive)
461 keeper_api_t _selected_keeper_receive{ nullptr }; 461 keeper_api_t _selected_keeper_receive{ nullptr };
462 int _expected_pushed_min{ 0 }, _expected_pushed_max{ 0 }; 462 int _expected_pushed_min{ 0 }, _expected_pushed_max{ 0 };
463 // are we in batched mode? 463 // are we in batched mode?
464 if (kLindaBatched.equals(L_, -1)) { 464 if (kLindaBatched.equals(L_, _key_i)) {
465 // no need to pass linda.batched in the keeper state 465 // no need to pass linda.batched in the keeper state
466 ++_key_i; 466 ++_key_i;
467 // make sure the keys are of a valid type 467 // make sure the keys are of a valid type