diff options
author | Erik Schilling <ablu.erikschilling@googlemail.com> | 2013-04-11 11:10:47 +0200 |
---|---|---|
committer | Erik Schilling <ablu.erikschilling@googlemail.com> | 2013-04-12 14:56:28 +0200 |
commit | 9e6a0f98ecb52e04ab5afce817cb1d7fe2076450 (patch) | |
tree | 97b6ffedbfbaf09389fe05c1d183471a97740ebb /src/game-server/attack.h | |
parent | d7fa7ea64f6bb0bc0b097e4bf1ceb4bd9620d0da (diff) | |
download | manaserv-9e6a0f98ecb52e04ab5afce817cb1d7fe2076450.tar.gz manaserv-9e6a0f98ecb52e04ab5afce817cb1d7fe2076450.tar.bz2 manaserv-9e6a0f98ecb52e04ab5afce817cb1d7fe2076450.tar.xz manaserv-9e6a0f98ecb52e04ab5afce817cb1d7fe2076450.zip |
Moved Actor into an Component
This was the final step to remove the hierachy with Entity on the top.
Diffstat (limited to 'src/game-server/attack.h')
-rw-r--r-- | src/game-server/attack.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game-server/attack.h b/src/game-server/attack.h index 348a94bb..8dc62629 100644 --- a/src/game-server/attack.h +++ b/src/game-server/attack.h @@ -21,6 +21,7 @@ #ifndef ATTACK_H #define ATTACK_H +#include <cassert> #include <cstddef> #include <list> @@ -146,7 +147,7 @@ class Attack public: Attack(AttackInfo *info): mInfo(info) - {} + {assert(info);} AttackInfo *getAttackInfo() { return mInfo; } |