mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-14 21:45:16 -05:00
Remove !=0 from cvar check
This commit is contained in:
parent
a73729b9b1
commit
5991be8256
@ -123,7 +123,7 @@ void ObjLightswitch_InitCollider(ObjLightswitch* this, GlobalContext* globalCtx)
|
|||||||
s32 pad;
|
s32 pad;
|
||||||
|
|
||||||
// Initialize this with the sun switch, so it can't be affected by toggling while the actor is loaded
|
// Initialize this with the sun switch, so it can't be affected by toggling while the actor is loaded
|
||||||
sunLightArrowsEnabledOnSunSwitchLoad = (CVar_GetS32("gSunlightArrows", 0) != 0);
|
sunLightArrowsEnabledOnSunSwitchLoad = (CVar_GetS32("gSunlightArrows", 0));
|
||||||
|
|
||||||
Collider_InitJntSph(globalCtx, &this->collider);
|
Collider_InitJntSph(globalCtx, &this->collider);
|
||||||
// If "Sunlight Arrows" is enabled, set up the collider to allow Light Arrow hits
|
// If "Sunlight Arrows" is enabled, set up the collider to allow Light Arrow hits
|
||||||
|
Loading…
Reference in New Issue
Block a user