Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2013-09-29 20:32:12 +0000
committerStijn Buys <ingar@osirion.org>2013-09-29 20:32:12 +0000
commitb99c406d99768661442d278476464858aabbfdc4 (patch)
tree0a2704e63175ee608f1d30cd15c423ded588e16c /src/core/entity.cc
parentce78048419f2cf6f86aeb22b78420da2d5523ba2 (diff)
Corrected build errors, build-0.2.5-svn1328
Diffstat (limited to 'src/core/entity.cc')
-rw-r--r--src/core/entity.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/entity.cc b/src/core/entity.cc
index b7d7646..8ea0db5 100644
--- a/src/core/entity.cc
+++ b/src/core/entity.cc
@@ -1281,17 +1281,17 @@ void EntityControlable::set_target_controlflags(int controlflags)
}
}
-void EntityControlable::set_target_controlflag(const ControlFlag controlflag)
+void EntityControlable::set_target_controlflag(const ControlFlags controlflag)
{
- if (!has_controlflag(controlflag);
+ if (!has_controlflag(controlflag)) {
target_controlflags = target_controlflags | controlflag;
set_dirty();
}
}
-void EntityControlable::unset_target_controlflag(const ControlFlag controlflag)
+void EntityControlable::unset_target_controlflag(const ControlFlags controlflag)
{
- if (has_controlflag(controlflag);
+ if (has_controlflag(controlflag)) {
target_controlflags = target_controlflags & ~controlflag;
set_dirty();
}