History

Remove unnecessary const

Atlante45 committed 9 years ago

Commit d2924511 parent b1a3b1f4 files · +7 −7Browse files

Showing the changes to assignment-client/src/scripts/EntityScriptServer.cpp (1 of 4 files). Show all

Unified · Split

assignment-client/src/scripts/EntityScriptServer.cpp+2−2
@@ -481,14 +481,14 @@ void EntityScriptServer::deletingEntity(const EntityItemID& entityID) { · 480 unmodified lines
481481 }
482482 }
483483
484−void EntityScriptServer::entityServerScriptChanging(const EntityItemID& entityID, const bool reload) {
484+void EntityScriptServer::entityServerScriptChanging(const EntityItemID& entityID, bool reload) {
485485 if (_entityViewer.getTree() && !_shuttingDown) {
486486 _entitiesScriptEngine->unloadEntityScript(entityID, true);
487487 checkAndCallPreload(entityID, reload);
488488 }
489489 }
490490
491−void EntityScriptServer::checkAndCallPreload(const EntityItemID& entityID, const bool reload) {
491+void EntityScriptServer::checkAndCallPreload(const EntityItemID& entityID, bool reload) {
492492 if (_entityViewer.getTree() && !_shuttingDown && _entitiesScriptEngine) {
493493
494494 EntityItemPointer entity = _entityViewer.getTree()->findEntityByEntityItemID(entityID);