Skip to content

Commit

Permalink
Missing Change from Light.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
FriskTheFallenHuman committed Dec 14, 2024
1 parent 81f1aaa commit 0d27fc6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions neo/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ if( D3_COMPILER_IS_GCC_OR_CLANG )
set( CMAKE_CXX_FLAGS_PROFILE ${CMAKE_C_FLAGS_PROFILE} )

add_compile_options(-fno-strict-aliasing)
add_compile_options(-Wno-unknown-pragmas)

# dear idiot compilers, don't fuck up math code with useless FMA "optimizations"
# (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100839)
Expand Down
2 changes: 2 additions & 0 deletions neo/d3xp/Light.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ void idLight::UpdateChangeableSpawnArgs( const idDict *source ) {

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

GetPhysics()->SetAxis( renderLight.axis );

UpdateVisuals();
}

Expand Down
2 changes: 2 additions & 0 deletions neo/game/Light.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ void idLight::UpdateChangeableSpawnArgs( const idDict *source ) {

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

GetPhysics()->SetAxis( renderLight.axis );

UpdateVisuals();
}

Expand Down

0 comments on commit 0d27fc6

Please sign in to comment.