Browse Source

swap if in drawing inventory items (#1968)

pull/1918/head^2
qndel 5 years ago committed by GitHub
parent
commit
610d5319bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Source/engine/render/cel_render.cpp

2
Source/engine/render/cel_render.cpp

@ -656,7 +656,7 @@ void CelDrawLightRedTo(const CelOutputBuffer &out, int sx, int sy, const CelSpri
void CelDrawItem(bool usable, const CelOutputBuffer &out, int x, int y, const CelSprite &cel, int frame)
{
if (usable) {
if (!usable) {
CelDrawLightRedTo(out, x, y, cel, frame);
} else {
CelClippedDrawTo(out, x, y, cel, frame);

Loading…
Cancel
Save