MCPcopy Create free account
hub / github.com/diasurgical/devilution / AddL1Door

Function AddL1Door

Source/objects.cpp:972–983  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

970}
971
972void AddL1Door(int i, int x, int y, int ot)
973{
974 object[i]._oDoorFlag = TRUE;
975 if (ot == 1) {
976 object[i]._oVar1 = dPiece[x][y];
977 object[i]._oVar2 = dPiece[x][y - 1];
978 } else {
979 object[i]._oVar1 = dPiece[x][y];
980 object[i]._oVar2 = dPiece[x - 1][y];
981 }
982 object[i]._oVar4 = 0;
983}
984
985void AddSCambBook(int i)
986{

Callers 1

AddObjectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected