File tree Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -241,6 +241,7 @@ if( D3_COMPILER_IS_GCC_OR_CLANG )
241
241
set ( CMAKE_CXX_FLAGS_PROFILE ${CMAKE_C_FLAGS_PROFILE} )
242
242
243
243
add_compile_options (-fno-strict-aliasing)
244
+ add_compile_options (-Wno-unknown-pragmas)
244
245
245
246
# dear idiot compilers, don't fuck up math code with useless FMA "optimizations"
246
247
# (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100839)
Original file line number Diff line number Diff line change @@ -181,6 +181,8 @@ void idLight::UpdateChangeableSpawnArgs( const idDict *source ) {
181
181
182
182
gameEdit->ParseSpawnArgsToRenderLight ( source ? source : &spawnArgs, &renderLight );
183
183
184
+ GetPhysics ()->SetAxis ( renderLight.axis );
185
+
184
186
UpdateVisuals ();
185
187
}
186
188
Original file line number Diff line number Diff line change @@ -181,6 +181,8 @@ void idLight::UpdateChangeableSpawnArgs( const idDict *source ) {
181
181
182
182
gameEdit->ParseSpawnArgsToRenderLight ( source ? source : &spawnArgs, &renderLight );
183
183
184
+ GetPhysics ()->SetAxis ( renderLight.axis );
185
+
184
186
UpdateVisuals ();
185
187
}
186
188
You can’t perform that action at this time.
0 commit comments