mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-22 03:55:11 +00:00
fix warnings (#203)
This commit is contained in:
parent
e4e9c02d51
commit
778667822c
2 changed files with 6 additions and 4 deletions
|
@ -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
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue