```cpp
return it == mUsedPowers.end() || 
       it->second + 24 <= MWBase::Environment::get().getWorld()->getTimeStamp();
```