BLADERUNNER: JANITORIAL: Code formatting fixes

This commit is contained in:
Thanasis Antoniou 2019-06-28 15:30:05 +03:00
parent bd75898894
commit a81e3add2f
42 changed files with 70 additions and 70 deletions

View file

@ -107,7 +107,7 @@ const char *TextResource::getText(uint32 id) const {
const char *TextResource::getOuttakeTextByFrame(uint32 frame) const {
for (uint32 i = 0; i != _count; ++i) {
//debug("Checking %d - so within: %d , %d", _ids[i], (0x0000FFFF & _ids[i]), ((_ids[i] >> 16) & 0x0000FFFF ) );
if ((frame >= (0x0000FFFF & _ids[i]) ) && (frame < ((_ids[i] >> 16) & 0x0000FFFF ) )){
if ((frame >= (0x0000FFFF & _ids[i]) ) && (frame < ((_ids[i] >> 16) & 0x0000FFFF ) )) {
// we found an id with lower 16bits smaller or equal to our frame key
// and with higher 16 bits higher than the frame key
return _strings + _offsets[i];