Skip to content

Commit

Permalink
fix includes
Browse files Browse the repository at this point in the history
  • Loading branch information
aronwk-aaron committed Feb 25, 2024
1 parent c4a485a commit 44cd035
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dGame/dComponents/AchievementVendorComponent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "UserManager.h"
#include "CDMissionsTable.h"

bool AchievementVendorComponent::SellsItem(Entity* buyer, const LOT lot) const {
bool AchievementVendorComponent::SellsItem(Entity* buyer, const LOT lot) {
auto* missionComponent = buyer->GetComponent<MissionComponent>();
if (!missionComponent) return false;

Expand Down
4 changes: 3 additions & 1 deletion dGame/dComponents/AchievementVendorComponent.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@

#include "VendorComponent.h"
#include "eReplicaComponentType.h"
#include <set>
#include <map>

class Entity;

class AchievementVendorComponent final : public VendorComponent {
public:
static constexpr eReplicaComponentType ComponentType = eReplicaComponentType::ACHIEVEMENT_VENDOR;
AchievementVendorComponent(Entity* parent) : VendorComponent(parent) {};
bool SellsItem(Entity* buyer, const LOT lot) const;
bool SellsItem(Entity* buyer, const LOT lot);
void Buy(Entity* buyer, LOT lot, uint32_t count);

private:
Expand Down

0 comments on commit 44cd035

Please sign in to comment.