summaryrefslogtreecommitdiff
path: root/BarracksSpr.c
diff options
context:
space:
mode:
authorXaviDCR92 <xavi.dcr@gmail.com>2017-03-12 21:09:29 +0100
committerXaviDCR92 <xavi.dcr@gmail.com>2017-03-12 21:09:29 +0100
commit6628e7de58425b3e93da9ae6fcb7347137d96096 (patch)
tree336d1f74961187aad7c85ba06dcdd0684c003282 /BarracksSpr.c
parentf416816883545433ea33ca410983371e657dba18 (diff)
downloadpocketempires-6628e7de58425b3e93da9ae6fcb7347137d96096.tar.gz
* Player can now select nearest unit or building. Multiple buildings and units can be selected at the same time.
* Unit module moved from C++ to C (only extension change - and compiler - was needed). * GfxGetHeightFromSpriteData and GfxGetWidthFromSpriteData were getting incorrect data! Incorrect memory address was being read when calling pgm_read_byte, and caused unexpected behaviour under real hw.
Diffstat (limited to 'BarracksSpr.c')
-rw-r--r--BarracksSpr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/BarracksSpr.c b/BarracksSpr.c
index 0f881e0..5763273 100644
--- a/BarracksSpr.c
+++ b/BarracksSpr.c
@@ -1,7 +1,7 @@
const uint8_t BarracksSpr_Data[] PROGMEM =
{
- 24 /* Width */ ,24 /* Height */,
+ 0x18 /* Width */ ,0x18 /* Height */,
0xE7,0x0,0xE7,
0xBD,0x0,0xBD,
0xE7,0xFF,0xE7,