mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-15 17:11:24 +00:00
- fixed minor issues with new line specials
(cherry picked from commit 91f440378e
)
This commit is contained in:
parent
726f7e4b03
commit
a2f4579943
1 changed files with 4 additions and 3 deletions
|
@ -2789,7 +2789,7 @@ FUNC(LS_Line_SetAutomapFlags)
|
|||
int setflags = 0;
|
||||
int clearflags = 0;
|
||||
|
||||
for (int i = 0; flagtrans[i] != ML_PORTALCONNECT; i++, arg1 >>= 1, arg2 >>= 1)
|
||||
for (int i = 0; flagtrans[i] != -1; i++, arg1 >>= 1, arg2 >>= 1)
|
||||
{
|
||||
if (arg1 & 1) setflags |= flagtrans[i];
|
||||
if (arg2 & 1) clearflags |= flagtrans[i];
|
||||
|
@ -2806,9 +2806,10 @@ FUNC(LS_Line_SetAutomapFlags)
|
|||
}
|
||||
|
||||
FUNC(LS_Line_SetAutomapStyle)
|
||||
// Line_SetAutomapStyle (id, setflags, clearflags)
|
||||
// Line_SetAutomapStyle (id, style)
|
||||
{
|
||||
if (arg1 < AMLS_COUNT && arg1 >= 0) {
|
||||
if (arg1 < AMLS_COUNT && arg1 >= 0)
|
||||
{
|
||||
FLineIdIterator itr(arg0);
|
||||
int line;
|
||||
while ((line = itr.Next()) >= 0)
|
||||
|
|
Loading…
Reference in a new issue