Merge pull request #207 from aquileia/VC_update
Fix VC and OpenMP build
This commit is contained in:
commit
fb63278540
2 changed files with 20 additions and 3 deletions
|
@ -20220,6 +20220,14 @@
|
|||
RelativePath="..\..\src\game_board.hpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\game_classification.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\game_classification.hpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\game_config.hpp"
|
||||
>
|
||||
|
@ -20972,6 +20980,14 @@
|
|||
RelativePath="..\..\src\synced_commands.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\syncmp_handler.hpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\syncmp_handler.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\team.cpp"
|
||||
>
|
||||
|
@ -21140,6 +21156,10 @@
|
|||
RelativePath="..\..\src\unit_types.hpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\unit_ptr.hpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\util.cpp"
|
||||
>
|
||||
|
|
|
@ -3070,9 +3070,6 @@ void display::invalidate_animations()
|
|||
bool new_inval;
|
||||
do {
|
||||
new_inval = false;
|
||||
#ifdef _OPENMP
|
||||
#pragma omp parallel for reduction(|:new_inval) shared(unit_list) schedule(guided)
|
||||
#endif //_OPENMP
|
||||
BOOST_FOREACH(const unit & u, dc_->units()) {
|
||||
new_inval |= u.anim_comp().invalidate(*this);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue