mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-17 20:42:23 +00:00
Doc pass on bgcheck-waterbox properties (#1288)
* Doc pass on bgcheck-waterbox properties * `WATERBOX_ROOM_INDEX...` -> `WATERBOX_ROOM...` * Fix `WATERBOX_PROPERTIES` macro (was completely wrong) * `((setFlag19) & 1) << WATERBOX_FLAG_19_SHIFT` instead of ternary * Fix `WATERBOX_PROPERTIES` macro (hopefully for good)
This commit is contained in:
parent
0d52a4aebd
commit
7cfee3d8a9
5 changed files with 48 additions and 29 deletions
|
@ -783,7 +783,7 @@ void Environment_UpdateSkybox(u8 skyboxId, EnvironmentContext* envCtx, SkyboxCon
|
|||
}
|
||||
|
||||
void Environment_EnableUnderwaterLights(PlayState* play, s32 waterLightsIndex) {
|
||||
if (waterLightsIndex == 0x1F) {
|
||||
if (waterLightsIndex == WATERBOX_LIGHT_INDEX_NONE) {
|
||||
waterLightsIndex = 0;
|
||||
// "Underwater color is not set in the water poly data!"
|
||||
osSyncPrintf(VT_COL(YELLOW, BLACK) "\n水ポリゴンデータに水中カラーが設定されておりません!" VT_RST);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue