Browse files

GameScript::SetDoorFlag: removed hack from 56dc6ec for iwd2 ar1200

tabbard's shield is now properly accessible since the previous commit
 and now also the elaborate rock pile traps in ar4100 toggle properly
  • Loading branch information...
1 parent 9c9c015 commit 2d4d6731b60bc15461702504dd5406999e30368c @lynxlynxlynx lynxlynxlynx committed Jun 13, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 gemrb/core/GameScript/Actions.cpp
View
2 gemrb/core/GameScript/Actions.cpp
@@ -2352,7 +2352,7 @@ void GameScript::SetDoorFlag(Scriptable* Sender, Action* parameters)
flag&=~DOOR_LOCKED;
door->SetDoorLocked(parameters->int1Parameter!=0, false);
}
- if (flag&(DOOR_OPEN|DOOR_HIDDEN)) {
+ if (flag&DOOR_OPEN) {
flag&=~DOOR_OPEN;
door->SetDoorOpen(parameters->int1Parameter!=0, false, 0);
}

0 comments on commit 2d4d673

Please sign in to comment.