add support for PSO DC v1/v2
This commit is contained in:
+3
-1
@@ -172,7 +172,9 @@ void player_use_item(shared_ptr<Client> c, size_t item_index) {
|
||||
}
|
||||
}
|
||||
|
||||
bool should_delete_item = true;
|
||||
// TODO: It appears that on DC, using an item should NOT delete it from the
|
||||
// player's inventory - the client will send a followup 6x29 to do that.
|
||||
bool should_delete_item = (c->version() != GameVersion::DC);
|
||||
|
||||
auto& item = c->game_data.player()->inventory.items[item_index];
|
||||
if (item.data.data1w[0] == 0x0203) { // technique disk
|
||||
|
||||
Reference in New Issue
Block a user