Skip to content

Commit 979d2ae

Browse files
authored
Merge branch 'master' into 230724_Add_getLoadedFiles
2 parents e794557 + 5508c7e commit 979d2ae

File tree

12 files changed

+9
-110
lines changed

12 files changed

+9
-110
lines changed

.github/workflows/dockerimage.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ on:
1212
- 'Dockerfile.i386'
1313
- 'Dockerfile.armhf'
1414
- 'Dockerfile.arm64'
15-
- 'Dockerfile.osx-x64'
16-
- 'Dockerfile.osx-arm64'
1715

1816
jobs:
1917
build:
@@ -28,10 +26,6 @@ jobs:
2826
dockerfile: Dockerfile.armhf
2927
- tag: arm64
3028
dockerfile: Dockerfile.arm64
31-
- tag: osx-x64
32-
dockerfile: Dockerfile.osx-x64
33-
- tag: osx-arm64
34-
dockerfile: Dockerfile.osx-arm64
3529
runs-on: ubuntu-latest
3630
steps:
3731
- uses: actions/checkout@v4

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ENV AS_BUILDAGENT=0 \
1515
RUN apt-get update && \
1616
apt-get install -y software-properties-common wget ca-certificates git build-essential \
1717
gcc-10 g++-10 curl subversion ncftp \
18-
libncurses-dev libncursesw5 libmysqlclient-dev
18+
libncurses-dev libncursesw6 libmysqlclient-dev
1919

2020
# Set build directory
2121
VOLUME /build

Dockerfile.arm64

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ RUN sed -i 's/deb http/deb \[arch=amd64,i386\] http/' /etc/apt/sources.list && \
2121
apt-get update && \
2222
apt-get install -y make git ncftp \
2323
gcc-10-aarch64-linux-gnu g++-10-aarch64-linux-gnu \
24-
libncursesw5:arm64 libncursesw5-dev:arm64 libmysqlclient-dev:arm64
24+
libncurses-dev:arm64 libncursesw6:arm64 libmysqlclient-dev:arm64
2525

2626
# Set build directory
2727
VOLUME /build

Dockerfile.armhf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ RUN sed -i 's/deb http/deb \[arch=amd64,i386\] http/' /etc/apt/sources.list && \
2121
apt-get update && \
2222
apt-get install -y make git ncftp \
2323
gcc-10-arm-linux-gnueabihf g++-10-arm-linux-gnueabihf \
24-
libncursesw5:armhf libncursesw5-dev:armhf libmysqlclient-dev:armhf
24+
libncurses-dev:armhf libncursesw6:armhf libmysqlclient-dev:armhf
2525

2626
# Set build directory
2727
VOLUME /build

Dockerfile.i386

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ENV AS_BUILDAGENT=0 \
1515
RUN dpkg --add-architecture i386 && apt-get update && \
1616
apt-get install -y software-properties-common wget ca-certificates git build-essential \
1717
gcc-10-multilib g++-10-multilib curl subversion ncftp \
18-
libncurses-dev:i386 libncursesw5:i386 libmysqlclient-dev:i386
18+
libncurses-dev:i386 libncursesw6:i386 libmysqlclient-dev:i386
1919

2020
# Set build directory
2121
VOLUME /build

Dockerfile.osx-arm64

Lines changed: 0 additions & 40 deletions
This file was deleted.

Dockerfile.osx-x64

Lines changed: 0 additions & 40 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ You can build the MTA:SA server on GNU/Linux distributions only for x86, x86_64,
6464
- git
6565
- make
6666
- GNU GCC compiler (version 10 or newer)
67-
- libncursesw5
68-
- libncursesw5-dev
67+
- libncursesw6
68+
- libncurses-dev
6969
- libmysqlclient-dev
7070

7171
**Build instructions: Script**

Server/core/premake5.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ project "Core"
4444
links { "breakpad", "rt" }
4545
buildoptions { "-pthread" }
4646
linkoptions { "-pthread" }
47-
linkoptions { "-l:libncursesw.so.5" }
47+
linkoptions { "-l:libncursesw.so.6" }
4848

4949
filter "system:macosx"
5050
links { "ncurses", "breakpad", "CoreFoundation.framework" }

Shared/mods/deathmatch/logic/lua/CLuaTimer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,5 @@ CTickCount CLuaTimer::GetTimeLeft()
6868
{
6969
CTickCount llCurrentTime = CTickCount::Now();
7070
CTickCount llTimeLeft = m_llStartTime + m_llDelay - llCurrentTime;
71-
return llTimeLeft;
71+
return llTimeLeft.ToLongLong() < 0LL ? CTickCount(0LL) : llTimeLeft;
7272
}

0 commit comments

Comments
 (0)