mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-24 08:00:14 +00:00
Fix compilation errors from single-player removal
- Fixed corrupted header (removed orphaned code fragment) - Restored NPC callbacks needed for online animations - NpcDeathCallback, NpcRespawnCallback, NpcSwingCallback - These were incorrectly removed as "SP-only" but are used for animations in online mode - Removed calls to deleted methods: - getItemTemplateName, getItemTemplateQuality (used fallback in loot window) - notifyInventoryChanged, notifyEquipmentChanged (SP persistence markers) - Removed hearthstone single-player handling (now uses server) All online features preserved. Code should now compile.
This commit is contained in:
parent
45fd9a2faa
commit
180b78d106
4 changed files with 18 additions and 27 deletions
|
|
@ -628,9 +628,6 @@ void InventoryScreen::render(game::Inventory& inventory, uint64_t moneyCopper) {
|
|||
heldItem = game::ItemDef{};
|
||||
heldSource = HeldSource::NONE;
|
||||
inventoryDirty = true;
|
||||
if (gameHandler_) {
|
||||
gameHandler_->notifyInventoryChanged();
|
||||
}
|
||||
dropItemName_.clear();
|
||||
ImGui::CloseCurrentPopup();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue