Fixed finding of renamed custom actors
This commit is contained in:
parent
f6ff4a0730
commit
e7cd7ccd6d
|
@ -74,6 +74,13 @@ const void *DynOS_Actor_GetLayoutFromName(const char *aActorName) {
|
|||
}
|
||||
}
|
||||
|
||||
// check custom actors
|
||||
for (auto& pair : DynosCustomActors()) {
|
||||
if (!strcmp(aActorName, pair.first)) {
|
||||
return pair.second;
|
||||
}
|
||||
}
|
||||
|
||||
// check loaded actors
|
||||
for (auto& pair : DynosValidActors()) {
|
||||
for (auto& geo : pair.second.mGfxData->mGeoLayouts) {
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
set -e
|
||||
if [ $# -eq 0 ]; then
|
||||
make DEBUG=1 DEVELOPMENT=1 STRICT=1 PROFILE=1 -j
|
||||
make DEBUG=1 DEVELOPMENT=1 STRICT=1 PROFILE=1 LUA_PROFILER=1 -j
|
||||
else
|
||||
make DEBUG=1 DEVELOPMENT=1 PROFILE=1 -j
|
||||
make DEBUG=1 DEVELOPMENT=1 PROFILE=1 LUA_PROFILER=1 -j
|
||||
fi
|
||||
|
||||
# find file
|
||||
|
|
Loading…
Reference in New Issue