mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-21 14:31:17 +00:00
Document SaveContext.gameMode
(#1295)
* Document `SaveContext.gameMode` * end credits * Remove no longer needed comment
This commit is contained in:
parent
e16779cc33
commit
984871eb38
17 changed files with 41 additions and 31 deletions
|
@ -49,8 +49,7 @@ void EnLight_Init(Actor* thisx, PlayState* play) {
|
|||
EnLight* this = (EnLight*)thisx;
|
||||
s16 yOffset;
|
||||
|
||||
if (gSaveContext.gameMode == 3) {
|
||||
// special case for the credits
|
||||
if (gSaveContext.gameMode == GAMEMODE_END_CREDITS) {
|
||||
yOffset = (this->actor.params < 0) ? 1 : 40;
|
||||
Lights_PointNoGlowSetInfo(&this->lightInfo, this->actor.world.pos.x, yOffset + (s16)this->actor.world.pos.y,
|
||||
this->actor.world.pos.z, 255, 255, 180, -1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue