mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-10 19:20:13 +00:00
dogIsLost is infact a bool
This commit is contained in:
parent
dff17518ef
commit
8c17271ca3
1 changed files with 2 additions and 2 deletions
|
@ -326,7 +326,7 @@ static void EnDog_Init(EnDog* this, GlobalContext* globalCtx)
|
|||
switch (globalCtx->sceneNum)
|
||||
{
|
||||
case SCENE_MARKET_NIGHT:
|
||||
if ((gSaveContext.dogIsLost == 0) && (((this->actor.params & 0x0F00) >> 8) == 1))
|
||||
if ((!gSaveContext.dogIsLost) && (((this->actor.params & 0x0F00) >> 8) == 1))
|
||||
{
|
||||
Actor_Kill(&this->actor);
|
||||
}
|
||||
|
@ -334,7 +334,7 @@ static void EnDog_Init(EnDog* this, GlobalContext* globalCtx)
|
|||
case SCENE_IMPA: // Richard's Home
|
||||
if ((u32)(this->actor.params & 0x8000) == 0)
|
||||
{
|
||||
if (gSaveContext.dogIsLost == 0)
|
||||
if (!gSaveContext.dogIsLost)
|
||||
{
|
||||
this->nextBehavior = DOG_SIT;
|
||||
this->actionFunc = EnDog_Wait;
|
||||
|
|
Loading…
Reference in a new issue