mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 11:43:16 +02:00
Remove nullptr comparison
This commit is contained in:
parent
26e3b331ee
commit
75a943386b
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ void inputControllerFromScriptValue(const QScriptValue &object, AbstractInputCon
|
|||
}
|
||||
|
||||
EntityScriptingInterface* ScriptEngine::getEntityScriptingInterface() {
|
||||
if (ScriptEngine::_entityScriptingInterface == nullptr) {
|
||||
if (!ScriptEngine::_entityScriptingInterface) {
|
||||
ScriptEngine::_entityScriptingInterface = new EntityScriptingInterface();
|
||||
}
|
||||
return ScriptEngine::_entityScriptingInterface;
|
||||
|
|
Loading…
Reference in a new issue