mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-22 20:15:17 +00:00
Fix Toad messages, and likely other things related to behParams
This commit is contained in:
parent
b2bd29383b
commit
08f72749c9
1 changed files with 1 additions and 1 deletions
|
@ -505,7 +505,7 @@ void spawn_objects_from_info(UNUSED s32 unused, struct SpawnInfo *spawnInfo) {
|
|||
object->respawnInfo = &spawnInfo->behaviorArg;
|
||||
|
||||
// found a player
|
||||
if (spawnInfo->behaviorArg & (1 << 31)) {
|
||||
if (spawnInfo->behaviorArg & (1 << 31) && object->behavior == bhvMario) {
|
||||
u16 playerIndex = (spawnInfo->behaviorArg & ~(1 << 31));
|
||||
object->oBehParams = playerIndex + 1;
|
||||
gMarioObjects[playerIndex] = object;
|
||||
|
|
Loading…
Reference in a new issue