aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpu_unai/gpu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/gpu_unai/gpu.cpp')
-rw-r--r--plugins/gpu_unai/gpu.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/gpu_unai/gpu.cpp b/plugins/gpu_unai/gpu.cpp
index 3515814..4ee453d 100644
--- a/plugins/gpu_unai/gpu.cpp
+++ b/plugins/gpu_unai/gpu.cpp
@@ -972,6 +972,10 @@ long GPUfreeze(unsigned int ulGetFreezeData, GPUFreeze_t* p2)
void GPUrearmedCallbacks(const struct rearmed_cbs *cbs_)
{
+ enableAbbeyHack = cbs_->gpu_unai.abe_hack;
+ light = !cbs_->gpu_unai.no_light;
+ blend = !cbs_->gpu_unai.no_blend;
+
cbs = cbs_;
}