hedgewars/uGearsHandlersMess.pas
changeset 10131 4b4a043111f4
parent 10125 7a77a819a94d
child 10135 8fd3e38bd4f2
--- a/hedgewars/uGearsHandlersMess.pas	Tue Feb 11 22:05:03 2014 +0400
+++ b/hedgewars/uGearsHandlersMess.pas	Wed Feb 12 00:50:15 2014 +0400
@@ -882,7 +882,7 @@
                         end
                     else allpx:= false
                     end;
-                p:= @(p^[s^.pitch shr 2])
+                p:= PLongWordArray(@(p^[s^.pitch shr 2]))
                 end;
 
             // Why is this here.  For one thing, there's no test on +1 being safe.