LAB: Make string check more readable, remove a useless c_str()
This commit is contained in:
parent
2eeb027604
commit
fa222f0ca8
5 changed files with 32 additions and 33 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue