mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
change town events to vector + use getDefaultAllowed for spells
This commit is contained in:
@@ -561,7 +561,7 @@ struct DLL_LINKAGE UpdateMapEvents : public CPackForClient
|
||||
struct DLL_LINKAGE UpdateCastleEvents : public CPackForClient
|
||||
{
|
||||
ObjectInstanceID town;
|
||||
std::list<CCastleEvent> events;
|
||||
std::vector<CCastleEvent> events;
|
||||
|
||||
void applyGs(CGameState * gs) const;
|
||||
void visitTyped(ICPackVisitor & visitor) override;
|
||||
|
||||
Reference in New Issue
Block a user