mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
STARK: Small fixing
This commit is contained in:
@@ -523,7 +523,7 @@ void Location::saveLoadCurrent(ResourceSerializer *serializer) {
|
||||
|
||||
Layer *Location::getLayerByName(const Common::String &name) {
|
||||
for (uint i = 0; i < _layers.size(); ++i) {
|
||||
if (_layers[i]->getName() == name) {
|
||||
if (_layers[i]->getName().equalsIgnoreCase(name)) {
|
||||
return _layers[i];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -58,7 +58,7 @@ public:
|
||||
void addDiaryEntry(const Common::String &name);
|
||||
|
||||
/** Get and set the current diary page index */
|
||||
uint32 getPageIndex() { return _pageIndex; };
|
||||
uint32 getPageIndex() const { return _pageIndex; };
|
||||
void setPageIndex(uint32 pageIndex) { _pageIndex = pageIndex; }
|
||||
|
||||
/** Add a FMV entry to the list of movies available to play from the diary */
|
||||
@@ -70,8 +70,8 @@ public:
|
||||
Common::String &getFMVTitle(uint index) { return _fmvEntries[index].title; }
|
||||
|
||||
/** Get info of added Diary entries */
|
||||
uint countDiary() { return _diaryEntries.size(); }
|
||||
Common::String &getDiary(uint index) { return _diaryEntries[index]; };
|
||||
uint countDiary() const { return _diaryEntries.size(); }
|
||||
Common::String &getDiary(uint index) { return _diaryEntries[index]; }
|
||||
|
||||
/** Start recording speech lines for a dialog */
|
||||
void openDialog(const Common::String &title, const Common::String &characterName, int32 characterId);
|
||||
|
||||
Reference in New Issue
Block a user