mirror of https://github.com/sm64pc/sm64pc.git
putting out fires
This commit is contained in:
parent
8e1412a2ac
commit
ab23b8907b
|
@ -3183,7 +3183,6 @@ const BehaviorScript bhvFloorTrapInCastle[] = {
|
||||||
|
|
||||||
const BehaviorScript bhvTree[] = {
|
const BehaviorScript bhvTree[] = {
|
||||||
BEGIN(OBJ_LIST_POLELIKE),
|
BEGIN(OBJ_LIST_POLELIKE),
|
||||||
BILLBOARD(),
|
|
||||||
CYLBOARD(),
|
CYLBOARD(),
|
||||||
OR_INT(oFlags, OBJ_FLAG_UPDATE_GFX_POS_AND_ANGLE),
|
OR_INT(oFlags, OBJ_FLAG_UPDATE_GFX_POS_AND_ANGLE),
|
||||||
SET_INT(oInteractType, INTERACT_POLE),
|
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][2] = 0;
|
||||||
dest[0][3] = 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][0] = 0;
|
||||||
dest[2][1] = 0;
|
dest[2][1] = 0;
|
||||||
dest[2][2] = 1;
|
dest[2][2] = 1;
|
||||||
|
|
Loading…
Reference in New Issue