From 1e2bb88b50269f30c5ffdb29322f88dc30361120 Mon Sep 17 00:00:00 2001 From: preble Date: Sun, 10 Oct 2010 16:07:04 -0400 Subject: [PATCH] Fixed green/yellow record icons. --- IJInventoryItem.m | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/IJInventoryItem.m b/IJInventoryItem.m index c04f046..d6cf9d0 100644 --- a/IJInventoryItem.m +++ b/IJInventoryItem.m @@ -80,10 +80,15 @@ index = itemId - 256; atlasOffset = NSMakePoint(445, 23+52); } - else if (itemId >= 2556 && itemId <= 2557) + else if (itemId == 2256) { - index = itemId - 2556; - atlasOffset = NSMakePoint(445+pixelsPerColumn, 23+52); + index = 0; + atlasOffset = NSMakePoint(445+pixelsPerColumn + 4, 23+52 + 10 * pixelsPerRow); + } + else if (itemId == 2257) + { + index = 0; + atlasOffset = NSMakePoint(445+pixelsPerColumn + 49, 23+52 + 10 * pixelsPerRow); } else {