diff options
-rw-r--r-- | TheLooker.asl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/TheLooker.asl b/TheLooker.asl index f1fefd4..2def3cf 100644 --- a/TheLooker.asl +++ b/TheLooker.asl | |||
@@ -5,6 +5,9 @@ | |||
5 | 5 | ||
6 | state("The Looker") { | 6 | state("The Looker") { |
7 | bool witnessModeActive: "UnityPlayer.dll", 0x01968940, 0x88, 0x648, 0x218, 0x0, 0xB8, 0x28, 0x180; | 7 | bool witnessModeActive: "UnityPlayer.dll", 0x01968940, 0x88, 0x648, 0x218, 0x0, 0xB8, 0x28, 0x180; |
8 | float playerX: "UnityPlayer.dll", 0x019DFDB8, 0x0, 0x220, 0x250, 0x60, 0xB0, 0x28, 0x43C; | ||
9 | float playerY: "UnityPlayer.dll", 0x019DFDB8, 0x0, 0x220, 0x250, 0x60, 0xB0, 0x28, 0x440; | ||
10 | float playerZ: "UnityPlayer.dll", 0x019DFDB8, 0x0, 0x220, 0x250, 0x60, 0xB0, 0x28, 0x444; | ||
8 | } | 11 | } |
9 | 12 | ||
10 | startup { | 13 | startup { |
@@ -169,7 +172,7 @@ update | |||
169 | } | 172 | } |
170 | 173 | ||
171 | start { | 174 | start { |
172 | return current.witnessModeActive; | 175 | return current.witnessModeActive || (current.playerX != old.playerX) || (current.playerY != old.playerY) || (current.playerZ != old.playerZ); |
173 | } | 176 | } |
174 | 177 | ||
175 | split { | 178 | split { |