MACVENTURE: Change comment

This commit is contained in:
Avijeet 2022-09-04 16:53:56 +05:30 committed by Eugene Sandulenko
parent 22308ed4f7
commit e5877985ff

View File

@ -786,7 +786,7 @@ void MacVentureEngine::openObject(ObjID objID) {
Common::Point p(_world->getObjAttr(objID, kAttrPosX), _world->getObjAttr(objID, kAttrPosY));
WindowReference invID = _gui->createInventoryWindow(objID);
Common::String title = _world->getText(objID, objID, objID);
// HACK, trim titletext because windows can't be resized
// HACK, trim titletext to fit initial inventory size
while (title.size() > 6) {
title.deleteLastChar();
}