forked from Ports/perfect_dark
port-no-doors: a couple code quality improvements
This commit is contained in:
1 parent
0973f70301
commit
c866940873
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -1590,7 +1590,7 @@ void setupCreateProps(s32 stagenum)
|
||||
// dont skip doors that are locked or are lift doors
|
||||
bool skipdoor = nodoors && g_Vars.normmplayerisrunning && door->keyflags == 0 && door->extra1 == 0;
|
||||
if (!skipdoor && withobjs && (obj->flags2 & diffflag) == 0) {
|
||||
setupCreateDoor((struct doorobj *) obj, index);
|
||||
setupCreateDoor(door, index);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -2898,7 +2898,7 @@
|
||||
#define MPOPTION_AUTORANDOMWEAPON_END 0x01000000
|
||||
#define MPOPTION_FRIENDLYFIRE 0x02000000
|
||||
#define MPOPTION_NOPLAYERONRADAR 0x04000000
|
||||
#define MPOPTION_NODOORS 0x08000000
|
||||
#define MPOPTION_NODOORS 0x08000000
|
||||
|
||||
#define MPPAUSEMODE_UNPAUSED 0
|
||||
#define MPPAUSEMODE_PAUSED 1
|
||||
|
||||
Reference in new issue
Block a user