Browse Source

Remove no-op assignment (#3362)

pull/3368/head
Andrew James 4 years ago committed by GitHub
parent
commit
e87b67aa8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      Source/objects.cpp

1
Source/objects.cpp

@ -2273,7 +2273,6 @@ void OperateBookLever(int pnum, int i)
Quests[Q_BLOOD]._qvar1 = 1;
SpawnQuestItem(IDI_BLDSTONE, { 2 * setpc_x + 25, 2 * setpc_y + 33 }, 0, 1);
}
Objects[i]._otype = Objects[i]._otype;
if (Objects[i]._otype == OBJ_STEELTOME && Quests[Q_WARLORD]._qvar1 == 0) {
Quests[Q_WARLORD]._qactive = QUEST_ACTIVE;
Quests[Q_WARLORD]._qlog = true;

Loading…
Cancel
Save