Browse Source

Dedupe SyncNakrulRoom code (#3325)

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

7
Source/objects.cpp

@ -5523,12 +5523,7 @@ void OperateNakrulLever()
{
if (currlevel == 24) {
PlaySfxLoc(IS_CROPEN, { UberRow, UberCol });
//the part below is the same as SyncNakrulRoom
dPiece[UberRow][UberCol] = 298;
dPiece[UberRow][UberCol - 1] = 301;
dPiece[UberRow][UberCol - 2] = 300;
dPiece[UberRow][UberCol + 1] = 299;
SetDungeonMicros();
SyncNakrulRoom();
}
}

Loading…
Cancel
Save