Skip to content

Commit

Permalink
исправил декомпиляцию 1114 билда
Browse files Browse the repository at this point in the history
  • Loading branch information
abramcumner committed Nov 18, 2016
1 parent 21ec884 commit 4a4dca7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sources/xray_re/xr_level.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,12 @@ bool xr_level::load(const char* game_data_path, const char* level_path)
m_xrlc_quality = r->r_u16();
switch (xrlc_version) {
case XRLC_VERSION_5:
case XRLC_VERSION_8:
{
char buf[124];
r->r_cseq(sizeof(buf), buf);
}
// fall through
case XRLC_VERSION_8:
case XRLC_VERSION_9:
case XRLC_VERSION_10:
case XRLC_VERSION_11:
Expand Down
2 changes: 1 addition & 1 deletion sources/xray_re/xr_level_visuals.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ void xr_level_visuals::load(uint32_t xrlc_version, xr_reader& r, const xr_level_
{
xr_reader* s = 0;

if (xrlc_version <= XRLC_VERSION_8)
if (xrlc_version < XRLC_VERSION_8)
s = r.open_chunk(FSL5_VISUALS);
else
s = r.open_chunk(FSL8_VISUALS);
Expand Down

0 comments on commit 4a4dca7

Please sign in to comment.