mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-28 15:03:01 +00:00
Make tree only Cylboard when "BETTERCAMERA" is detected
This commit is contained in:
parent
fccaead53d
commit
c7af33814e
1 changed files with 7 additions and 0 deletions
|
@ -12,6 +12,9 @@
|
|||
#include "game/debug.h"
|
||||
#include "menu/file_select.h"
|
||||
#include "engine/surface_load.h"
|
||||
#ifdef BETTERCAMERA
|
||||
#include "game/bettercamera.h"
|
||||
#endif
|
||||
|
||||
#include "actors/common0.h"
|
||||
#include "actors/common1.h"
|
||||
|
@ -3183,7 +3186,11 @@ const BehaviorScript bhvFloorTrapInCastle[] = {
|
|||
|
||||
const BehaviorScript bhvTree[] = {
|
||||
BEGIN(OBJ_LIST_POLELIKE),
|
||||
#ifdef BETTERCAMERA
|
||||
CYLBOARD(),
|
||||
#else
|
||||
BILLBOARD(),
|
||||
#endif
|
||||
OR_INT(oFlags, OBJ_FLAG_UPDATE_GFX_POS_AND_ANGLE),
|
||||
SET_INT(oInteractType, INTERACT_POLE),
|
||||
SET_HITBOX(/*Radius*/ 80, /*Height*/ 500),
|
||||
|
|
Loading…
Reference in a new issue