mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-04 01:07:22 +00:00
QDENGINE: Remove duplicate flag in the drop list
It was introduced by refactoring where two flags dropping was moved from qdGameObject::load_script_body() without checking that QD_OBJ_STATE_CHANGE_FLAG was already present in the list.
This commit is contained in:
parent
9034c35ed2
commit
577151814b
@ -180,7 +180,7 @@ bool qdGameObject::save_data(Common::WriteStream &fh) const {
|
||||
|
||||
bool qdGameObject::init() {
|
||||
drop_flag(QD_OBJ_SCREEN_COORDS_FLAG);
|
||||
drop_flag(QD_OBJ_STATE_CHANGE_FLAG | QD_OBJ_IS_IN_TRIGGER_FLAG | QD_OBJ_STATE_CHANGE_FLAG | QD_OBJ_IS_IN_INVENTORY_FLAG);
|
||||
drop_flag(QD_OBJ_STATE_CHANGE_FLAG | QD_OBJ_IS_IN_TRIGGER_FLAG | QD_OBJ_IS_IN_INVENTORY_FLAG);
|
||||
drop_flag(QD_OBJ_HIDDEN_FLAG);
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user