Bugfix: Change instant warps to use ints instead of shorts (#500)

Additionally clean up some inconsistencies surrounding instant warps
This commit is contained in:
Gregory Heskett authored and GitHub committed 2022-09-30 17:41:58 -05:00
1 parent 8c56afddba
commit da4b4db7ae
4 files changed
+14 -13

No files matched your search

+4 -3
View File
@@ -377,9 +377,10 @@ enum GoddardScene {
CMD_BBBB(destArea, destNode, flags, 0x00)
#define INSTANT_WARP(index, destArea, displaceX, displaceY, displaceZ) \
CMD_BBBB(LEVEL_CMD_CREATE_INSTANT_WARP, 0x0C, index, destArea), \
CMD_HH(displaceX, displaceY), \
CMD_HH(displaceZ, 0x0000)
CMD_BBBB(LEVEL_CMD_CREATE_INSTANT_WARP, 0x10, index, destArea), \
CMD_W(displaceX), \
CMD_W(displaceY), \
CMD_W(displaceZ)
#define LOAD_AREA(area) \
CMD_BBBB(LEVEL_CMD_LOAD_AREA, 0x04, area, 0x00)