Skip to content

Commit

Permalink
feat: add elevator to ter_bitflags
Browse files Browse the repository at this point in the history
  • Loading branch information
scarf005 committed Sep 16, 2023
1 parent 3f47c00 commit b782cee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/mapdata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ static const std::unordered_map<std::string, ter_bitflags> ter_bitflags_map = {
{ "SUSPENDED", TFLAG_SUSPENDED }, // This furniture is suspended between other terrain, and will cause a cascading failure on break.
{ "FRIDGE", TFLAG_FRIDGE }, // This is an active fridge.
{ "FREEZER", TFLAG_FREEZER }, // This is an active freezer.
{ "ELEVATOR", TFLAG_ELEVATOR }, // This is an elevator.
}
};

Expand Down
1 change: 1 addition & 0 deletions src/mapdata.h
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,7 @@ enum ter_bitflags : int {
TFLAG_SUSPENDED,
TFLAG_FRIDGE,
TFLAG_FREEZER,
TFLAG_ELEVATOR,

NUM_TERFLAGS
};
Expand Down

0 comments on commit b782cee

Please sign in to comment.