port: fix sliding doors exploding at non-60fps framerates

This commit is contained in:
fgsfds committed 2023-11-14 23:58:40 +01:00
1 parent 72e9e2af95
commit 32b2e9c28e
2 files changed
+10 -1

No files matched your search

+1 -1
View File
@@ -1523,7 +1523,7 @@ struct doorobj { // objtype 0x01
/*0xc4*/ s16 portalnum;
/*0xc6*/ s8 soundtype;
/*0xc7*/ s8 fadetime60; // counts down
/*0xc8*/ s32 lastcalc60;
/*0xc8*/ s32 lastcalc60; // port: actually stores 240hz frame number
/*0xcc*/ u8 laserfade;
/*0xcd*/ u8 unusedmaybe[3];
/*0xd0*/ u8 shadeinfo1[4]; // player 1