mirror of
https://github.com/zeldaret/ss
synced 2026-06-30 03:18:55 -04:00
More d/snd
This commit is contained in:
@@ -180,3 +180,13 @@ void dSndSourceMgr_c::clearSourceList(nw4r::ut::List *list) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
s32 dSndSourceMgr_c::getPlayerSourceRoomId() const {
|
||||
if (mpPlayerSource == nullptr) {
|
||||
return -1;
|
||||
}
|
||||
if (getBoomerangSource() != nullptr) {
|
||||
return getBoomerangSource()->getRoomId();
|
||||
}
|
||||
return mpPlayerSource->getRoomId();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user