mirror of
https://github.com/moparisthebest/rswiki-book
synced 2024-11-21 08:35:00 -05:00
Update MediaWiki page '317 Update item container'
This commit is contained in:
parent
4889195bc2
commit
2c16bdcb30
@ -27,9 +27,8 @@ The rest in pseudo-code:
|
||||
for (int i = 0; i < amt_of_items; i++) {
|
||||
item_amount = read_u_byte(); // Item Amount: U Byte
|
||||
|
||||
|
||||
if (item_amount == 255)
|
||||
if (item_amount == 255) {
|
||||
item_amount = read_int_me_b(); // Item Amount (if entered as 255 previously - to allow bigger amounts than 254): Integer Middle-Endian Big (Inverse middle)
|
||||
|
||||
}
|
||||
item_id = read_u_short_le_a(); // Item ID: U Short Little Endian Special A
|
||||
}
|
Loading…
Reference in New Issue
Block a user