Skip to content

Commit

Permalink
Fixed invalid value for LOS_ANY flag. (#397)
Browse files Browse the repository at this point in the history
* Fixed invalid value for LOS_ANY flag. It was duplicated with SPEEDHACK flag.

* Updated core changes.
  • Loading branch information
AsYlum- committed Apr 10, 2021
1 parent b75d2a5 commit ff9b2c0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
8 changes: 7 additions & 1 deletion docs/docs.polserver.com/pol100/corechanges.xml
Expand Up @@ -2,9 +2,15 @@
<ESCRIPT>
<header>
<topic>Latest Core Changes</topic>
<datemodified>03-24-2021</datemodified>
<datemodified>04-10-2021</datemodified>
</header>
<version name="POL100.1.0">
<entry>
<date>04-10-2021</date>
<author>AsYlum:</author>
<change type="Fixed">Duplicated internal value for &quot;speedhack&quot; and &quot;losany&quot; privileges. When enabling &quot;speedhack&quot; privilege it also worked as &quot;losany&quot;<br/>
so LoS checks always returned true.</change>
</entry>
<entry>
<date>03-24-2021</date>
<author>Turley:</author>
Expand Down
3 changes: 3 additions & 0 deletions pol-core/doc/core-changes.txt
@@ -1,4 +1,7 @@
-- POL100.1.0 --
04-10-2021 AsYlum:
Fixed: Duplicated internal value for "speedhack" and "losany" privileges. When enabling "speedhack" privilege it also worked as "losany"
so LoS checks always returned true.
03-24-2021 Turley:
Added: os:OpenConnection argument keep_connection
defaults to 0, if set to 1 the connection is kept active on read timeout.
Expand Down
2 changes: 1 addition & 1 deletion pol-core/pol/mobile/charactr.h
Expand Up @@ -232,7 +232,7 @@ enum class PRIV_FLAGS : u32
HEAR_GHOSTS = 1 << 7,
SEE_INVIS_ITEMS = 1 << 8,
DBLCLICK_ANY = 1 << 9,
LOS_ANY = 1 << 19, // all targetting ignore LOS?
LOS_ANY = 1 << 10, // all targetting ignore LOS?
IGNORE_DOORS = 1 << 11,
FREEMOVE = 1 << 12,
FIRE_WHILE_MOVING = 1 << 13,
Expand Down

0 comments on commit ff9b2c0

Please sign in to comment.