fix warnings (#203)

This commit is contained in:
Isaac0-dev 2022-10-01 13:02:55 +10:00 committed by GitHub
parent a94de7d6af
commit 57c793f4a5
2 changed files with 6 additions and 4 deletions

View File

@ -7,11 +7,13 @@ RUN apt-get update && \
build-essential \ build-essential \
libcapstone-dev \ libcapstone-dev \
pkgconf \ pkgconf \
python3 python3 \
libz-dev
RUN mkdir /sm64 RUN mkdir /sm64
WORKDIR /sm64 WORKDIR /sm64
ENV PATH="/sm64/tools:${PATH}" ENV PATH="/sm64/tools:${PATH}"
CMD echo 'usage: docker run --rm --mount type=bind,source="$(pwd)",destination=/sm64 sm64ex-coop make -j4 HEADLESS=1\n' \ # docker build -t sm64ex-coop .
'see https://github.com/n64decomp/sm64/blob/master/README.md for advanced usage' # docker run --rm --mount type=bind,source="$(pwd)",destination=/sm64 sm64ex-coop make -j HEADLESS=1
# see https://github.com/n64decomp/sm64/blob/master/README.md for advanced usage

View File

@ -53,7 +53,7 @@ void play_knockback_sound(struct MarioState *m) {
#endif #endif
s32 lava_boost_on_wall(struct MarioState *m) { s32 lava_boost_on_wall(struct MarioState *m) {
if (Cheats.enabled && Cheats.godMode) { return; } if (Cheats.enabled && Cheats.godMode) { return FALSE; }
m->faceAngle[1] = atan2s(m->wallNormal[2], m->wallNormal[0]); m->faceAngle[1] = atan2s(m->wallNormal[2], m->wallNormal[0]);
if (m->forwardVel < 24.0f) { if (m->forwardVel < 24.0f) {