Skip to content

Commit

Permalink
Fix: wrong direct pcode for PCD_LOCALSETMUSIC
Browse files Browse the repository at this point in the history
  • Loading branch information
positively-charged committed Apr 21, 2017
1 parent f355369 commit 7a12624
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/codegen/pcode.c
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ static struct direct_pcode g_direct_pcode_table[] = {
{ PCD_SPAWN, PCD_SPAWNDIRECT, 6 },
{ PCD_SPAWNSPOT, PCD_SPAWNSPOTDIRECT, 4 },
{ PCD_SETMUSIC, PCD_SETMUSICDIRECT, 3 },
{ PCD_LOCALSETMUSIC, PCD_LOCALSETMUSIC, 3 },
{ PCD_LOCALSETMUSIC, PCD_LOCALSETMUSICDIRECT, 3 },
{ PCD_SETFONT, PCD_SETFONTDIRECT, 1 }
};

Expand All @@ -449,4 +449,4 @@ const struct direct_pcode* c_get_direct_pcode( int code ) {
}
}
return NULL;
}
}

0 comments on commit 7a12624

Please sign in to comment.