Skip to content

Commit

Permalink
Merge pull request #294 from CBATeam/xehbaseclass
Browse files Browse the repository at this point in the history
add a designated CBA_Extended_EventHandlers base class
  • Loading branch information
Killswitch00 committed Mar 6, 2016
2 parents 2eea6a3 + 44e34fd commit d1042f4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions addons/xeh/CfgEventHandlers.hpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@

class XEH_CLASS {
class DOUBLES(XEH_CLASS,base) {
EXTENDED_EVENTHANDLERS
};

class XEH_CLASS: DOUBLES(XEH_CLASS,base) {}; // bwc

class DefaultEventhandlers {
class XEH_CLASS: XEH_CLASS {};
class XEH_CLASS: DOUBLES(XEH_CLASS,base) {};
};

// The PreStart handlers run once when the game is started
Expand Down

0 comments on commit d1042f4

Please sign in to comment.