mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Do not send netpack inside netpack handler.
This commit is contained in:
@@ -191,6 +191,8 @@ protected:
|
||||
|
||||
virtual CVisitInfo getVisitInfo(int index, const CGHeroInstance *h) const;
|
||||
|
||||
virtual void triggerRewardReset() const;
|
||||
|
||||
/// Rewards that can be granted by an object
|
||||
std::vector<CVisitInfo> info;
|
||||
|
||||
@@ -315,6 +317,9 @@ public:
|
||||
|
||||
class DLL_LINKAGE CGVisitableOPW : public CRewardableObject //objects visitable once per week
|
||||
{
|
||||
protected:
|
||||
void triggerRewardReset() const override;
|
||||
|
||||
public:
|
||||
void initObj(CRandomGenerator & rand) override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user