summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-01-07 17:36:25 +0100
committerHaru <haru@dotalux.com>2016-02-24 21:00:30 +0100
commitd734e17ce1cbbd2379fc438a3269416d2ff1ed44 (patch)
treeb146e4d2778f7cf53aea34853ea0ebe957db582e /src/map/packets_struct.h
parent3188738be5ee78651e31c1340fac7fed81bbefb5 (diff)
downloadhercules-d734e17ce1cbbd2379fc438a3269416d2ff1ed44.tar.gz
hercules-d734e17ce1cbbd2379fc438a3269416d2ff1ed44.tar.bz2
hercules-d734e17ce1cbbd2379fc438a3269416d2ff1ed44.tar.xz
hercules-d734e17ce1cbbd2379fc438a3269416d2ff1ed44.zip
Added const qualifier to various variable/argument pointers
- This is necessary for compatibility with a const RP2PTR/RFIFO2PTR Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index cc8389a6b..90ea85d4a 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -1106,6 +1106,7 @@ struct packet_npc_market_purchase {
unsigned short ITID;
int qty;
} list[MAX_INVENTORY];/* assuming MAX_INVENTORY is max since you can't hold more than MAX_INVENTORY items thus cant buy that many at once. */
+ // TODO[Haru]: Change to a flexible array
} __attribute__((packed));
struct packet_npc_market_result_ack {