mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-31 04:20:42 +00:00
- fixed compilation on GCC.
error: operands to ?: have different types ‘std::nullptr_t’ and ‘TObjPtr<Duke3d::DDukeActor*>’
This commit is contained in:
parent
33a00869d8
commit
6f9484a9ee
1 changed files with 1 additions and 1 deletions
|
@ -414,7 +414,7 @@ void GameInterface::UpdateSounds(void)
|
|||
listener.Environment = nullptr;
|
||||
listener.valid = false;
|
||||
}
|
||||
listener.ListenerObject = ud.cameraactor == nullptr ? nullptr : ud.cameraactor;
|
||||
listener.ListenerObject = ud.cameraactor == nullptr ? nullptr : ud.cameraactor.Get();
|
||||
soundEngine->SetListener(listener);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue