mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-28 03:25:30 -05:00
Fix Qt5 build
This commit is contained in:
@@ -2720,7 +2720,8 @@ bool Project::readEventGraphics() {
|
||||
|
||||
// Strip the address-of operator to get the pointer's name. We'll use this name to get data about the event's sprite.
|
||||
// If we don't recognize the name, ignore it. The event will use a default sprite.
|
||||
QString info_label = pointerMap[gfxName].replace("&", "");
|
||||
QString info_label = pointerMap.value(gfxName);
|
||||
info_label.replace("&", "");
|
||||
if (!gfxInfos.contains(info_label))
|
||||
continue;
|
||||
const QHash<QString, QString> gfxInfoAttributes = gfxInfos[info_label];
|
||||
|
||||
Reference in New Issue
Block a user