mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-22 03:55:11 +00:00
Fixed finding of renamed custom actors
This commit is contained in:
parent
f6ff4a0730
commit
e7cd7ccd6d
2 changed files with 9 additions and 2 deletions
|
@ -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 a new issue