Skip to content

Commit

Permalink
Merge pull request #21 from yogstation13/515-1609v2
Browse files Browse the repository at this point in the history
Updates Extools to 515.1606
  • Loading branch information
JamieD1 authored May 13, 2023
2 parents 8f62d2d + 5048991 commit 3c065b5
Show file tree
Hide file tree
Showing 4 changed files with 102 additions and 55 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,22 @@ jobs:

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

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

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

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
2 changes: 1 addition & 1 deletion byond-extools/src/core/core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ void Core::Alert(int what)
}

unsigned int Core::GetStringId(std::string str, bool increment_refcount) {
if (ByondVersion == 514) {
if (ByondVersion >= 514) {
return GetStringTableIndexUTF8(str.c_str(), 0xFFFFFFFF, 0, 1);
}
return 0;
Expand Down
Loading

0 comments on commit 3c065b5

Please sign in to comment.