Update enginemaster.cpp

Iterator 'it' is reassigned with same value