Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 3c065b5

Browse files
authored
Merge pull request #21 from yogstation13/515-1609v2
Updates Extools to 515.1606
2 parents 8f62d2d + 5048991 commit 3c065b5

File tree

4 files changed

+102
-55
lines changed

4 files changed

+102
-55
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,22 @@ jobs:
4343

4444
# Initializes the CodeQL tools for scanning.
4545
- name: Initialize CodeQL
46-
uses: github/codeql-action/init@v1
46+
uses: github/codeql-action/init@v2
4747
with:
4848
languages: ${{ matrix.language }}
4949
# If you wish to specify custom queries, you can do so here or in a config file.
5050
# By default, queries listed here will override any specified in a config file.
5151
# Prefix the list here with "+" to use these queries and those in the config file.
5252
# queries: ./path/to/local/query, your-org/your-repo/queries@main
5353

54+
- name: Install gcc multilib
55+
run: |
56+
sudo apt-get install gcc-multilib g++-multilib
57+
5458
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5559
# If this step fails, then you should remove it and run the build manually (see below)
5660
- name: Autobuild
57-
uses: github/codeql-action/autobuild@v1
61+
uses: github/codeql-action/autobuild@v2
5862

5963
# ℹ️ Command-line programs to run using the OS shell.
6064
# 📚 https://git.io/JvXDl
@@ -68,4 +72,4 @@ jobs:
6872
# make release
6973

7074
- name: Perform CodeQL Analysis
71-
uses: github/codeql-action/analyze@v1
75+
uses: github/codeql-action/analyze@v2

byond-extools/src/core/core.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ void Core::Alert(int what)
111111
}
112112

113113
unsigned int Core::GetStringId(std::string str, bool increment_refcount) {
114-
if (ByondVersion == 514) {
114+
if (ByondVersion >= 514) {
115115
return GetStringTableIndexUTF8(str.c_str(), 0xFFFFFFFF, 0, 1);
116116
}
117117
return 0;

0 commit comments

Comments
 (0)