mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-25 05:25:14 +00:00
Sanity check. (#259)
This commit is contained in:
parent
46b2e24052
commit
3283ec9950
1 changed files with 1 additions and 0 deletions
|
@ -872,6 +872,7 @@ void painting_update_floors(struct Painting *painting) {
|
|||
enterRight = 0;
|
||||
struct Surface* surface;
|
||||
find_floor(m->marioObj->oPosX, m->marioObj->oPosY, m->marioObj->oPosZ, &surface);
|
||||
if (surface == NULL) { continue; }
|
||||
s16 floorType = surface->type;
|
||||
|
||||
/* The area in front of every painting in the game (except HMC and CotMC, which *\
|
||||
|
|
Loading…
Reference in a new issue