mirror of
https://github.com/zeldaret/oot
synced 2026-06-06 19:51:35 -04:00
Various minor cleanups (#1029)
* Fix some disp usage in EffectSsGMagma2 * Fix some incorrect SAC flags * Remove some instances where bool was used * Fix a few line numbers to be decimal * Remove MatrixInternal and use Mtx instead * Fix gs flag names to be plural for consistency * Fix some hex numbers to be uppercase * Fix instances of 0X for hex numbers
This commit is contained in:
@@ -1077,14 +1077,14 @@ void CollisionCheck_ClearContext(GlobalContext* globalCtx, CollisionCheckContext
|
||||
* Enables SAC, an alternate collision check mode that allows direct management of collider lists. Unused.
|
||||
*/
|
||||
void CollisionCheck_EnableSAC(GlobalContext* globalCtx, CollisionCheckContext* colChkCtx) {
|
||||
colChkCtx->sacFlags |= AC_ON;
|
||||
colChkCtx->sacFlags |= 1;
|
||||
}
|
||||
|
||||
/**
|
||||
* Disables SAC, an alternate collision check mode that allows direct management of collider lists. Unused.
|
||||
*/
|
||||
void CollisionCheck_DisableSAC(GlobalContext* globalCtx, CollisionCheckContext* colChkCtx) {
|
||||
colChkCtx->sacFlags &= ~AC_ON;
|
||||
colChkCtx->sacFlags &= ~1;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user