Browse Source

[hellfire] DrawClippedObject bin exact

pull/876/head
qndel 7 years ago committed by Anders Jenbo
parent
commit
83a04341ca
  1. 4
      Source/scrollrt.cpp

4
Source/scrollrt.cpp

@ -986,7 +986,11 @@ void DrawClippedObject(int x, int y, int ox, int oy, BOOL pre, int CelSkip, int
}
/// ASSERT: assert((unsigned char)bv < MAXOBJECTS);
#ifdef HELLFIRE
if (bv >= MAXOBJECTS)
#else
if ((BYTE)bv >= MAXOBJECTS)
#endif
return;
pCelBuff = object[bv]._oAnimData;

Loading…
Cancel
Save