mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-04-23 08:14:31 +00:00
add check for market balcony camera (#6464)
This commit is contained in:
parent
b6f227961b
commit
978a219213
|
|
@ -84,7 +84,8 @@ static void DisableFixedCamera_RestoreAllCameraData() {
|
||||||
|
|
||||||
// Helper to check if a camera type is a fixed camera
|
// Helper to check if a camera type is a fixed camera
|
||||||
static bool IsFixedCameraType(s16 type) {
|
static bool IsFixedCameraType(s16 type) {
|
||||||
return type == CAM_SET_PREREND_FIXED || type == CAM_SET_PREREND_PIVOT || type == CAM_SET_PIVOT_FROM_SIDE;
|
return type == CAM_SET_PREREND_FIXED || type == CAM_SET_PREREND_PIVOT || type == CAM_SET_PIVOT_FROM_SIDE ||
|
||||||
|
type == CAM_SET_MARKET_BALCONY;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void RegisterDisableFixedCamera() {
|
static void RegisterDisableFixedCamera() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue