mirror of
https://github.com/JulianGro/overte.git
synced 2025-05-05 12:27:56 +02:00
coding standard
This commit is contained in:
parent
bad44c540a
commit
46bf6ea5da
1 changed files with 3 additions and 2 deletions
|
@ -107,7 +107,7 @@ EntityItemProperties EntityScriptingInterface::getEntityProperties(EntityItemID
|
||||||
|
|
||||||
EntityItemID EntityScriptingInterface::editEntity(EntityItemID entityID, const EntityItemProperties& properties) {
|
EntityItemID EntityScriptingInterface::editEntity(EntityItemID entityID, const EntityItemProperties& properties) {
|
||||||
|
|
||||||
if (! canEdit()) {
|
if (!canEdit()) {
|
||||||
return entityID;
|
return entityID;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -151,8 +151,9 @@ EntityItemID EntityScriptingInterface::editEntity(EntityItemID entityID, const E
|
||||||
|
|
||||||
void EntityScriptingInterface::deleteEntity(EntityItemID entityID) {
|
void EntityScriptingInterface::deleteEntity(EntityItemID entityID) {
|
||||||
|
|
||||||
if (! canEdit())
|
if (!canEdit()) {
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
EntityItemID actualID = entityID;
|
EntityItemID actualID = entityID;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue