From f7c63d82f9ed02c9a47875cb18e132f1a44fbea0 Mon Sep 17 00:00:00 2001 From: Martin Michelsen Date: Thu, 29 Feb 2024 19:25:14 -0800 Subject: [PATCH] fix material usage on GC NTE --- src/Items.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Items.cc b/src/Items.cc index dd7a5994..2d8707f5 100644 --- a/src/Items.cc +++ b/src/Items.cc @@ -81,7 +81,7 @@ void player_use_item(shared_ptr c, size_t item_index, shared_ptrversion() != Version::GC_NTE)) { // Hit material doesn't exist on v3/v4, but we'll ignore type anyway // in this case because track_non_hp_tp_materials is false p->disp.stats.char_stats.ata += 2; @@ -91,7 +91,7 @@ void player_use_item(shared_ptr c, size_t item_index, shared_ptrversion() != Version::GC_NTE)) { p->disp.stats.char_stats.lck += 2; } else { throw runtime_error("unknown material used");