summaryrefslogtreecommitdiff
path: root/src/signs.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-01-18 23:09:43 +0000
committerrubidium <rubidium@openttd.org>2011-01-18 23:09:43 +0000
commit9ca4b629cd91c2749d9efafd752fc5175ebce5fd (patch)
tree24da99d42f3e33eb7f4109462dcced5adc6eab15 /src/signs.cpp
parent7efd7e19ed046a4a0c03077f27930291ba5b9725 (diff)
downloadopenttd-9ca4b629cd91c2749d9efafd752fc5175ebce5fd.tar.xz
(svn r21846) -Codechange: move documentation towards the code to make it more likely to be updated [o-s].
Diffstat (limited to 'src/signs.cpp')
-rw-r--r--src/signs.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/signs.cpp b/src/signs.cpp
index a86d79e9f..536644bf9 100644
--- a/src/signs.cpp
+++ b/src/signs.cpp
@@ -22,11 +22,15 @@
SignPool _sign_pool("Sign");
INSTANTIATE_POOL_METHODS(Sign)
+/**
+ * Creates a new sign
+ */
Sign::Sign(Owner owner)
{
this->owner = owner;
}
+/** Destroy the sign */
Sign::~Sign()
{
free(this->name);