Fix #6593: Can't hire entertainers when default scenery groups are deselected

This commit is contained in:
Michael Steenbeek 2017-11-02 11:10:26 +01:00 committed by GitHub
parent e9c7f6d589
commit 386a399a51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -54,6 +54,7 @@
- Fix: [#6452] Scenario text cut off when switching between 32 and 64-bit builds.
- Fix: [#6460] Crash when reading corrupt object files.
- Fix: [#6481] Can't take screenshots of parks with colons in the name.
- Fix: [#6593] Cannot hire entertainers when default scenery groups are not selected (original bug).
- Fix: Infinite loop when removing scenery elements with >127 base height.
- Fix: Ghosting of transparent map elements when the viewport is moved in OpenGL mode.
- Fix: Clear IME buffer after committing composed text.

View File

@ -1671,6 +1671,9 @@ uint32 staff_get_available_entertainer_costumes()
// For some reason the flags are +4 from the actual costume IDs
entertainerCostumes >>= 4;
// Fix #6593: force enable the default costumes, which normally get enabled through the default scenery groups.
entertainerCostumes |= (1 << ENTERTAINER_COSTUME_PANDA) | (1 << ENTERTAINER_COSTUME_TIGER) | (1 << ENTERTAINER_COSTUME_ELEPHANT);
return entertainerCostumes;
}