hedgewars/PascalExports.pas
changeset 4460 bdace1e2f8aa
parent 4454 42bfc1a70968
child 4507 0f9b86942c19
--- a/hedgewars/PascalExports.pas	Sat Dec 04 23:30:20 2010 +0300
+++ b/hedgewars/PascalExports.pas	Sun Dec 05 00:05:21 2010 +0100
@@ -36,9 +36,8 @@
 // retrieve protocol information
 procedure HW_versionInfo(netProto: PShortInt; versionStr: PPChar); cdecl; export;
 begin
-// http://bugs.freepascal.org/view.php?id=16156
-    if netProto <> nil then netProto^:= cNetProtoVersion;
-    if versionStr <> nil then versionStr^:= cVersionString;
+    netProto^:= cNetProtoVersion;
+    versionStr^:= cVersionString;
 end;
 
 procedure HW_click; cdecl; export;