mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-13 01:57:18 -07:00
Initial pass on some logging that would be helpful for debugging crashes/problems (#1457)
This commit is contained in:
parent
0a1e70ebaa
commit
7dffd63c39
6 changed files with 11 additions and 0 deletions
|
@ -1759,6 +1759,7 @@ u8 Return_Item(u8 itemID, ModIndex modId, ItemID returnItem) {
|
|||
* @return u8
|
||||
*/
|
||||
u8 Item_Give(PlayState* play, u8 item) {
|
||||
lusprintf(__FILE__, __LINE__, 2, "Item Give - item: %#x", item);
|
||||
static s16 sAmmoRefillCounts[] = { 5, 10, 20, 30, 5, 10, 30, 0, 5, 20, 1, 5, 20, 50, 200, 10 };
|
||||
s16 i;
|
||||
s16 slot;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue