mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-28 15:03:01 +00:00
putting out fires
This commit is contained in:
parent
8e1412a2ac
commit
ab23b8907b
2 changed files with 5 additions and 1 deletions
|
@ -3183,7 +3183,6 @@ const BehaviorScript bhvFloorTrapInCastle[] = {
|
|||
|
||||
const BehaviorScript bhvTree[] = {
|
||||
BEGIN(OBJ_LIST_POLELIKE),
|
||||
BILLBOARD(),
|
||||
CYLBOARD(),
|
||||
OR_INT(oFlags, OBJ_FLAG_UPDATE_GFX_POS_AND_ANGLE),
|
||||
SET_INT(oInteractType, INTERACT_POLE),
|
||||
|
|
|
@ -383,6 +383,11 @@ void mtxf_cylboard(Mat4 dest, Mat4 mtx, Vec3f position, s16 angle) { //straight
|
|||
dest[0][2] = 0;
|
||||
dest[0][3] = 0;
|
||||
|
||||
dest[1][0] = mtx[1][0];
|
||||
dest[1][1] = mtx[1][1];
|
||||
dest[1][2] = mtx[1][2];
|
||||
dest[1][3] = 0;
|
||||
|
||||
dest[2][0] = 0;
|
||||
dest[2][1] = 0;
|
||||
dest[2][2] = 1;
|
||||
|
|
Loading…
Reference in a new issue