BLADERUNNER: fix code for targetStateMZ in PS11-PS13 (codacy)
This commit is contained in:
parent
b7d1099658
commit
7e41916be8
3 changed files with 6 additions and 6 deletions
|
@ -681,11 +681,11 @@ void SceneScriptPS11::SceneLoaded() {
|
|||
Unclickable_Object("PARKMETR16");
|
||||
|
||||
if (!Query_System_Currently_Loading_Game()) {
|
||||
bool targetStateMZ = true;
|
||||
#if BLADERUNNER_ORIGINAL_BUGS
|
||||
bool targetStateMZ = true;
|
||||
#else
|
||||
// every maze target begins as NON-targetable
|
||||
targetStateMZ = false;
|
||||
bool targetStateMZ = false;
|
||||
#endif // BLADERUNNER_ORIGINAL_BUGS
|
||||
Item_Add_To_World(kItemPS11Target1, kModelAnimationFemaleTargetWithGunActive, kSetPS10_PS11_PS12_PS13, -450.0f, -7.5f, 335.0f, 50, 72, 36, targetStateMZ, false, false, true);
|
||||
Item_Add_To_World(kItemPS11Target2, kModelAnimationFemaleTargetWithGunActive, kSetPS10_PS11_PS12_PS13, -740.0f, 27.0f, -30.0f, 860, 72, 36, targetStateMZ, false, false, true);
|
||||
|
|
|
@ -733,11 +733,11 @@ void SceneScriptPS12::SceneLoaded() {
|
|||
Unclickable_Object("PARKMETR16");
|
||||
|
||||
if (!Query_System_Currently_Loading_Game()) {
|
||||
bool targetStateMZ = true;
|
||||
#if BLADERUNNER_ORIGINAL_BUGS
|
||||
bool targetStateMZ = true;
|
||||
#else
|
||||
// every maze target begins as NON-targetable
|
||||
targetStateMZ = false;
|
||||
bool targetStateMZ = false;
|
||||
#endif // BLADERUNNER_ORIGINAL_BUGS
|
||||
Item_Add_To_World(kItemPS12Target1, kModelAnimationFemaleTargetWithGunActive, kSetPS10_PS11_PS12_PS13, -691.8f, -9.06f, 587.67f, 200, 72, 36, targetStateMZ, false, false, true);
|
||||
Item_Add_To_World(kItemPS12Target2, kModelAnimationMaleTargetWithShotgunActive, kSetPS10_PS11_PS12_PS13, -679.6f, -45.4f, 721.05f, 67, 72, 36, targetStateMZ, false, false, true);
|
||||
|
|
|
@ -639,11 +639,11 @@ void SceneScriptPS13::SceneLoaded() {
|
|||
Unclickable_Object("PARKMETR16");
|
||||
|
||||
if (!Query_System_Currently_Loading_Game()) {
|
||||
bool targetStateMZ = true;
|
||||
#if BLADERUNNER_ORIGINAL_BUGS
|
||||
bool targetStateMZ = true;
|
||||
#else
|
||||
// every maze target begins as NON-targetable
|
||||
targetStateMZ = false;
|
||||
bool targetStateMZ = false;
|
||||
#endif // BLADERUNNER_ORIGINAL_BUGS
|
||||
Item_Add_To_World(kItemPS13Target1, kModelAnimationMaleTargetWithGunActive, kSetPS10_PS11_PS12_PS13, -372.0f, -9.0f, 1509.0f, 960, 72, 36, targetStateMZ, false, false, true);
|
||||
Item_Add_To_World(kItemPS13Target2, kModelAnimationMaleTargetWithGunActive, kSetPS10_PS11_PS12_PS13, 291.61f, -0.66f, 1610.3f, 823, 72, 36, targetStateMZ, false, false, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue