diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 8805550968f24..aea67af9dd608 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -105,4 +105,4 @@ jobs: steps: - name: Check annotations - uses: OpenTTD/actions/annotation-check@v5 + uses: glx22/actions/annotation-check@annotation_check diff --git a/src/script/api/script_text.cpp b/src/script/api/script_text.cpp index 9ec7b09e6ba03..238c7632fdd5a 100644 --- a/src/script/api/script_text.cpp +++ b/src/script/api/script_text.cpp @@ -232,6 +232,7 @@ void ScriptText::_GetEncodedText(std::back_insert_iterator &output, auto skip_args = [&](size_t nb) { idx += nb; }; for (const StringParam &cur_param : params) { + int i = 0; try { switch (cur_param.type) { case StringParam::UNUSED: