mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-02-16 17:11:28 +00:00
Fixed a problem where the tag and high tag arguments of line actions 121 and 160 were not pasted correctly in Hexen format. Fixes #987
This commit is contained in:
parent
77ed089917
commit
fcc5a0b2f8
1 changed files with 3 additions and 3 deletions
|
@ -619,7 +619,7 @@ namespace CodeImp.DoomBuilder.Map
|
|||
if(args[0] > General.Map.FormatInterface.MaxArgument) // Split sector tag?
|
||||
{
|
||||
int hitag = args[0] / 256;
|
||||
int lotag = args[0] - hitag;
|
||||
int lotag = args[0] % 256;
|
||||
|
||||
args[0] = lotag;
|
||||
args[4] = hitag;
|
||||
|
@ -651,7 +651,7 @@ namespace CodeImp.DoomBuilder.Map
|
|||
break;
|
||||
|
||||
default: // Convert tag to Line_SetIdentification?
|
||||
if(tags[0] > General.Map.FormatInterface.MinArgument)
|
||||
if(tags[0] > General.Map.FormatInterface.MaxArgument)
|
||||
{
|
||||
if(action != 0)
|
||||
{
|
||||
|
@ -661,7 +661,7 @@ namespace CodeImp.DoomBuilder.Map
|
|||
else // Convert to Line_SetIdentification
|
||||
{
|
||||
int hiid = tags[0] / 256;
|
||||
int loid = tags[0] - hiid;
|
||||
int loid = tags[0] % 256;
|
||||
|
||||
action = 121;
|
||||
args[0] = loid;
|
||||
|
|
Loading…
Reference in a new issue