Skip to content

Commit 0d27fc6

Browse files
Missing Change from Light.cpp
1 parent 81f1aaa commit 0d27fc6

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

neo/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ if( D3_COMPILER_IS_GCC_OR_CLANG )
241241
set( CMAKE_CXX_FLAGS_PROFILE ${CMAKE_C_FLAGS_PROFILE} )
242242

243243
add_compile_options(-fno-strict-aliasing)
244+
add_compile_options(-Wno-unknown-pragmas)
244245

245246
# dear idiot compilers, don't fuck up math code with useless FMA "optimizations"
246247
# (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100839)

neo/d3xp/Light.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,8 @@ void idLight::UpdateChangeableSpawnArgs( const idDict *source ) {
181181

182182
gameEdit->ParseSpawnArgsToRenderLight( source ? source : &spawnArgs, &renderLight );
183183

184+
GetPhysics()->SetAxis( renderLight.axis );
185+
184186
UpdateVisuals();
185187
}
186188

neo/game/Light.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,8 @@ void idLight::UpdateChangeableSpawnArgs( const idDict *source ) {
181181

182182
gameEdit->ParseSpawnArgsToRenderLight( source ? source : &spawnArgs, &renderLight );
183183

184+
GetPhysics()->SetAxis( renderLight.axis );
185+
184186
UpdateVisuals();
185187
}
186188

0 commit comments

Comments
 (0)