Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tumic0 committed Oct 3, 2024
1 parent 9ec5ea4 commit 3b27688
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/map/IMG/jls.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class JLS
{
if (!_file->readVUInt32SW(_hdl, 4, _value))
return false;
_shift = (quint8)-8;
_shift = -8;
return true;
}

Expand All @@ -36,7 +36,7 @@ class JLS
_value <<= bits;
_shift += bits;

while (-1 < (qint8)_shift) {
while (_shift >= 0) {
if (!_file->readByte(_hdl, &data))
return false;

Expand All @@ -53,7 +53,7 @@ class JLS
const SubFile *_file;
SubFile::Handle &_hdl;
quint32 _value;
quint8 _shift;
qint8 _shift;
};

bool readLine(BitStream &bs);
Expand Down

0 comments on commit 3b27688

Please sign in to comment.