Bugfix: Change instant warps to use ints instead of shorts (#500)
Additionally clean up some inconsistencies surrounding instant warps
This commit is contained in:
1 parent
8c56afddba
commit
da4b4db7ae
4 files changed
+14
-13
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user