You've already forked HackerSM64
mirror of
https://github.com/HackerN64/HackerSM64.git
synced 2026-01-21 10:35:32 -08:00
bparam4 fix
This commit is contained in:
@@ -18,6 +18,7 @@ Fork of the ultrasm64 repo by CrashOveride which includes the following commonly
|
||||
- If you don't want this, you can disable it by removing `#define wide` in `ingame_menu.c`
|
||||
- Removed course-specific camera processing
|
||||
- Increased maximum pole lenght (The game will read bparam1 and bparam2 together as a single value, so you can have a Snake Eater pole)
|
||||
- bparam4 fix (the game no longer uses bparam4 to check if an object is mario and therefore you can safely use it)
|
||||
|
||||
It also uncringes the way that apply_patch.sh works, and removes the black border.
|
||||
|
||||
|
||||
@@ -495,7 +495,7 @@ void spawn_objects_from_info(UNUSED s32 unused, struct SpawnInfo *spawnInfo) {
|
||||
object->respawnInfoType = RESPAWN_INFO_TYPE_32;
|
||||
object->respawnInfo = &spawnInfo->behaviorArg;
|
||||
|
||||
if (spawnInfo->behaviorArg & 0x01) {
|
||||
if (object->behavior == segmented_to_virtual(bhvMario)) {
|
||||
gMarioObject = object;
|
||||
geo_make_first_child(&object->header.gfx.node);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user