LAB: Make string check more readable, remove a useless c_str()

This commit is contained in:
Strangerke 2015-12-21 01:27:50 +01:00 committed by Willem Jan Palenstijn
parent 2eeb027604
commit fa222f0ca8
5 changed files with 32 additions and 33 deletions

View file

@ -212,7 +212,7 @@ Common::String LabEngine::generateSaveFileName(uint slot) {
}
void LabEngine::drawStaticMessage(byte index) {
_graphics->drawMessage(_resource->getStaticText((StaticText)index).c_str());
_graphics->drawMessage(_resource->getStaticText((StaticText)index));
}
void LabEngine::changeVolume(int delta) {