summaryrefslogtreecommitdiff
path: root/src/game-server/entity.cpp
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2013-04-14 11:15:35 +0200
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2013-04-14 11:15:35 +0200
commit3a132996f798dbf552ac858b06fa656b6790a501 (patch)
tree050396efcc609d5234414f15d52b6f4c123e6f80 /src/game-server/entity.cpp
parentff7041ab8d0c176a7c9764656c21177944f52c31 (diff)
downloadmanaserv-3a132996f798dbf552ac858b06fa656b6790a501.tar.gz
manaserv-3a132996f798dbf552ac858b06fa656b6790a501.tar.bz2
manaserv-3a132996f798dbf552ac858b06fa656b6790a501.tar.xz
manaserv-3a132996f798dbf552ac858b06fa656b6790a501.zip
Use a full user data for Entity references
Only moved a single script function to a member for now, will do others in a separate commit.
Diffstat (limited to 'src/game-server/entity.cpp')
-rw-r--r--src/game-server/entity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game-server/entity.cpp b/src/game-server/entity.cpp
index cbfa96f3..b40ac442 100644
--- a/src/game-server/entity.cpp
+++ b/src/game-server/entity.cpp
@@ -26,7 +26,7 @@ Entity::Entity(EntityType type, MapComposite *map) :
mType(type)
{
for (int i = 0; i < ComponentTypeCount; ++i)
- mComponents[i] = 0;
+ mComponents[i] = nullptr;
}
Entity::~Entity()