Skip to content
Permalink
Browse files

Actually send reply back for trap_R_LightForPoint

  • Loading branch information...
DolceTriade committed Sep 6, 2015
1 parent 85effa1 commit 5081453f492264228a66d4ce5893e65385de243c
Showing with 1 addition and 1 deletion.
  1. +1 −1 daemon/src/engine/client/cl_cgame.cpp
@@ -1734,7 +1734,7 @@ void CGameVM::QVMSyscall(int index, Util::Reader& reader, IPC::Channel& channel)
break;

case CG_R_LIGHTFORPOINT:
IPC::HandleMsg<Render::LightForPointMsg>(channel, std::move(reader), [this] (std::array<float, 3> point, std::array<float, 3>& ambient, std::array<float, 3>& directed, std::array<float, 3>& dir, int res) {
IPC::HandleMsg<Render::LightForPointMsg>(channel, std::move(reader), [this] (std::array<float, 3> point, std::array<float, 3>& ambient, std::array<float, 3>& directed, std::array<float, 3>& dir, int& res) {
res = re.LightForPoint(point.data(), ambient.data(), directed.data(), dir.data());
});
break;

0 comments on commit 5081453

Please sign in to comment.
You can’t perform that action at this time.