From c394a685891cfab7d5f59233a5ca82cd0db92833 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Sun, 27 Jul 2014 00:46:30 +0200 Subject: CGE2: Fix misleading tabulation, improve warning --- engines/cge2/vga13h.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines') diff --git a/engines/cge2/vga13h.cpp b/engines/cge2/vga13h.cpp index ea82fb7880..617cb7d250 100644 --- a/engines/cge2/vga13h.cpp +++ b/engines/cge2/vga13h.cpp @@ -124,7 +124,7 @@ BitmapPtr Sprite::getShp() { int i = e->_seq[_seqPtr]._now; if (i >= _shpCnt) - error("Invalid PHASE in SPRITE::Shp() %s", _file); + error("Invalid PHASE in SPRITE::Shp() %s - %d", _file, i); return e->_shpList + i; } @@ -393,7 +393,7 @@ Sprite *Sprite::expand() { if (!shpcnt) error("No shapes - %s", fname); - } else // no sprite description: try to read immediately from .BMP + } else // no sprite description: try to read immediately from .BMP shplist[shpcnt++] = Bitmap(_vm, _file); if (curSeq) { -- cgit v1.2.3