diff --git a/hhe/action-ptrs.c b/hhe/action-ptrs.c index 2724ad7..673596a 100644 --- a/hhe/action-ptrs.c +++ b/hhe/action-ptrs.c @@ -12,7 +12,7 @@ static HHEActionPointer action_pointers[] = { { { 115456, 117648, 117888 }, "A_BoltSpark" }, { { 77344, 79808, 79872 }, "A_BossDeath" }, { { 69328, 71856, 71920 }, "A_Chase" }, - { { NULL, 80976, 81040 }, "A_CheckBurnGone" }, + { { 0, 80976, 81040 }, "A_CheckBurnGone" }, { { 78480, 80944, 81008 }, "A_CheckSkullDone" }, { { 78448, 80912, 80976 }, "A_CheckSkullFloor" }, { { 71376, 73888, 73952 }, "A_ChicAttack" }, @@ -86,7 +86,7 @@ static HHEActionPointer action_pointers[] = { { { 111920, 114240, 114480 }, "A_Raise" }, { { 111696, 114016, 114256 }, "A_ReFire" }, { { 77056, 79520, 79584 }, "A_RemovePod" }, - { { 116480, NULL, NULL }, "A_RemovedPhoenixFunc" }, + { { 116480, 0, 0 }, "A_RemovedPhoenixFunc" }, { { 81952, 84464, 84528 }, "A_RestoreArtifact" }, { { 82048, 84544, 84608 }, "A_RestoreSpecialThing1" }, { { 82128, 84592, 84656 }, "A_RestoreSpecialThing2" }, diff --git a/hhe/gen-ptr-table b/hhe/gen-ptr-table index 79abe83..90eafc9 100755 --- a/hhe/gen-ptr-table +++ b/hhe/gen-ptr-table @@ -36,11 +36,7 @@ end def format_func_offsets(offsets) formatted = offsets.map do |offset| - if offset == 0 - " NULL" - else - sprintf("%6i", offset) - end + sprintf("%6i", offset) end "{ " + formatted.join(", ") + " }"