mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-05-26 23:26:45 -04:00
Fix sound userdata pointers being truncated
This commit is contained in:
@@ -500,7 +500,7 @@ void Z2SoundObjAnime::startSoundInner(const JGeometry::TVec3<f32>& pos, f32 para
|
||||
JUT_ASSERT(747, curSoundIndex_ < animation_->getNumSounds());
|
||||
|
||||
const JAUSoundAnimationSound* animationSound = animation_->getSound(curSoundIndex_);
|
||||
u32 user_data = (uintptr_t)animationSound;
|
||||
uintptr_t user_data = (uintptr_t)animationSound;
|
||||
if (reverse_) {
|
||||
curSoundIndex_--;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user