View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004399 | The Dark Mod | Coding | public | 22.10.2016 21:46 | 22.10.2016 21:51 |
Reporter | grayman | Assigned To | grayman | ||
Priority | normal | Severity | normal | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | TDM 2.04 | ||||
Target Version | TDM 2.05 | Fixed in Version | TDM 2.05 | ||
Summary | 0004399: Slightly improve mission load time | ||||
Description | Courtesy of duzenko, we have a patch to remove 1s of delay from the mission load time. His patch: Index: framework/Session.cpp =================================================================== --- framework/Session.cpp (revision 6635) +++ framework/Session.cpp (working copy) @@ -437,9 +437,9 @@ // introduced in D3XP code. don't think it actually fixes anything, but doesn't hurt either // Try and prevent the while loop from being skipped over (long hitch on the main thread?) - int stop = Sys_Milliseconds() + 1000; + /*int stop = Sys_Milliseconds() + 1000; int force = 10; - while ( Sys_Milliseconds() < stop || force-- > 0 ) { + while ( Sys_Milliseconds() < stop || force-- > 0 )*/ { com_frameTime = com_ticNumber * USERCMD_MSEC; session->Frame(); session->UpdateScreen( false ); | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
22.10.2016 21:46 | grayman | New Issue | |
22.10.2016 21:46 | grayman | Status | new => assigned |
22.10.2016 21:46 | grayman | Assigned To | => grayman |
22.10.2016 21:51 | grayman | Note Added: 0008387 | |
22.10.2016 21:51 | grayman | Status | assigned => resolved |
22.10.2016 21:51 | grayman | Resolution | open => fixed |
22.10.2016 21:51 | grayman | Fixed in Version | => TDM 2.05 |