hedgewars-engine (rust): fix "protocol_version" -> "hedgewars_engine_protocol_version"
authorsheepluva
Tue, 22 Jun 2021 22:13:55 +0200
changeset 15802 d5c37e78ab83
parent 15801 f57a3d48072b
child 15803 b06b33cf0a89
hedgewars-engine (rust): fix "protocol_version" -> "hedgewars_engine_protocol_version" That function/symbol was renamed in ef2fc0210362
rust/hedgewars-engine/src/main.rs
--- a/rust/hedgewars-engine/src/main.rs	Tue Jun 22 01:57:50 2021 +0300
+++ b/rust/hedgewars-engine/src/main.rs	Tue Jun 22 22:13:55 2021 +0200
@@ -16,7 +16,7 @@
 
     unsafe {
         let engine = Engine {
-            protocol_version: hwlib.get(b"protocol_version").unwrap(),
+            protocol_version: hwlib.get(b"hedgewars_engine_protocol_version").unwrap(),
             start_engine: hwlib.get(b"start_engine").unwrap(),
             cleanup: hwlib.get(b"cleanup").unwrap(),
         };