ExtraOptionsInfo.cpp 543 B

12345678910111213141516171819202122
  1. /*
  2. * ExtraOptionsInfo.cpp, part of VCMI engine
  3. *
  4. * Authors: listed in file AUTHORS in main folder
  5. *
  6. * License: GNU General Public License v2.0 or later
  7. * Full text of license available in license.txt file, in main folder
  8. *
  9. */
  10. #include "StdInc.h"
  11. #include "ExtraOptionsInfo.h"
  12. VCMI_LIB_NAMESPACE_BEGIN
  13. bool ExtraOptionsInfo::operator == (const ExtraOptionsInfo & other) const
  14. {
  15. return cheatsAllowed == other.cheatsAllowed &&
  16. unlimitedReplay == other.unlimitedReplay &&
  17. inviteHero == other.inviteHero;
  18. }
  19. VCMI_LIB_NAMESPACE_END