Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/SB/Game/zTalkBox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ namespace
// HACK
return (char*)(asset) + 4;
}

} // namespace

void ztalkbox::load(const asset_type& tasset)
Expand Down Expand Up @@ -312,11 +313,11 @@ void ztalkbox::stop_talk()
}
}

void ztalkbox::stop_wait(U32 unk)
void ztalkbox::stop_wait(U32 x)
{
if (shared.active == this)
{
//shared.unk8D48 |= unk;
shared.wait_event_mask = shared.wait_event_mask | x;
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/SB/Game/zTalkBox.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ struct ztalkbox : xBase
void add_text(U32 textID);
void clear_text();
void stop_talk();
void stop_wait(U32 unk);
void stop_wait(U32 x);
void show();
void hide();
};
Expand Down