mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-07 21:53:51 +00:00
fix warnings, remove phases from commentaries
This commit is contained in:
parent
43aecab1ef
commit
0e6aaeb44e
6 changed files with 33 additions and 55 deletions
|
|
@ -1266,14 +1266,14 @@ struct EntityController::GameObjectTypeHandler : EntityController::IObjectTypeHa
|
|||
struct EntityController::ItemTypeHandler : EntityController::IObjectTypeHandler {
|
||||
EntityController& ctl_;
|
||||
explicit ItemTypeHandler(EntityController& c) : ctl_(c) {}
|
||||
void onCreate(const UpdateBlock& block, std::shared_ptr<Entity>& entity, bool& newItemCreated) override { ctl_.onCreateItem(block, newItemCreated); }
|
||||
void onCreate(const UpdateBlock& block, std::shared_ptr<Entity>& /*entity*/, bool& newItemCreated) override { ctl_.onCreateItem(block, newItemCreated); }
|
||||
void onValuesUpdate(const UpdateBlock& block, std::shared_ptr<Entity>& entity) override { ctl_.onValuesUpdateItem(block, entity); }
|
||||
};
|
||||
|
||||
struct EntityController::CorpseTypeHandler : EntityController::IObjectTypeHandler {
|
||||
EntityController& ctl_;
|
||||
explicit CorpseTypeHandler(EntityController& c) : ctl_(c) {}
|
||||
void onCreate(const UpdateBlock& block, std::shared_ptr<Entity>& entity, bool&) override { ctl_.onCreateCorpse(block); }
|
||||
void onCreate(const UpdateBlock& block, std::shared_ptr<Entity>& /*entity*/, bool&) override { ctl_.onCreateCorpse(block); }
|
||||
};
|
||||
|
||||
// ============================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue