mirror of
https://github.com/lubosz/overte.git
synced 2025-04-26 10:35:27 +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) {
|
||||
|
||||
if (! canEdit()) {
|
||||
if (!canEdit()) {
|
||||
return entityID;
|
||||
}
|
||||
|
||||
|
@ -151,8 +151,9 @@ EntityItemID EntityScriptingInterface::editEntity(EntityItemID entityID, const E
|
|||
|
||||
void EntityScriptingInterface::deleteEntity(EntityItemID entityID) {
|
||||
|
||||
if (! canEdit())
|
||||
if (!canEdit()) {
|
||||
return;
|
||||
}
|
||||
|
||||
EntityItemID actualID = entityID;
|
||||
|
||||
|
|
Loading…
Reference in a new issue