message: Use RandomNumberGenerator in structure.cpp
diff: #include "Structure.h"
  +#include "../../RandomNumberGenerator.h"
  #include "../../Constants.h"
  #include <algorithm>
  -/**
  - * \fixme Copy/paste code.
  - *
  - * fix when https://github.com/OutpostUniverse/OPHD/issues/974
  - * is implemented.
  - */
  -#include <random>
  -#include <functional>
  -
  -namespace
  -{
  - std::random_device randomDevice;
  - std::mt19937 generator(randomDevice());
  - std::uniform_int_distribution<int> distribution(0, 1000);
  - auto randomNumberGenerator = std::bind(distribution, std::ref(generator));
  -}
  -/** end fixme */
  -
  -
  /**
  * Translation table for Structure States.
  */
  @@ -288,7 +270,7 @@ void Structure::updateIntegrityDecay()
  else if (mIntegrity <= 20 && !destroyed())
  {
  /* range is 0 - 1000, 0 - 100 for 10% chance */
  - if (randomNumberGenerator() < 100)
  + if (randomNumber.generate(0, 1000) < 100)
  {
  destroy();
  }
  