aboutsummaryrefslogtreecommitdiff
path: root/sword2
diff options
context:
space:
mode:
Diffstat (limited to 'sword2')
-rw-r--r--sword2/driver/render.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/driver/render.cpp b/sword2/driver/render.cpp
index ffa583f664..9db66a36b1 100644
--- a/sword2/driver/render.cpp
+++ b/sword2/driver/render.cpp
@@ -1126,7 +1126,7 @@ int32 InitialiseBackgroundLayer(_parallax *p) {
memset(memchunk, 0, p->w * p->h);
for (i = 0; i < p->h; i++) {
- if (FROM_LE_32(p->offset[i]) == 0)
+ if (p->offset[i] == 0)
continue;
line = (_parallaxLine *) ((uint8 *) p + FROM_LE_32(p->offset[i]));