mirror of
https://github.com/zeldaret/botw
synced 2026-07-09 14:05:33 -04:00
Add #ifdef declarations for NON_MATCHING code
This commit is contained in:
@@ -72,7 +72,8 @@ WallCode wallCodeFromText(const sead::SafeString& text) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// NON_MATCHING: duplicated branches?
|
||||
// duplicated branches?
|
||||
#ifdef NON_MATCHING
|
||||
MotionType motionTypeFromText(const sead::SafeString& text) {
|
||||
if (text == "Dynamic")
|
||||
return MotionType::Dynamic;
|
||||
@@ -82,5 +83,6 @@ MotionType motionTypeFromText(const sead::SafeString& text) {
|
||||
return MotionType::Keyframed;
|
||||
return MotionType::Unknown;
|
||||
}
|
||||
#endif
|
||||
|
||||
} // namespace ksys::phys
|
||||
|
||||
Reference in New Issue
Block a user