# HG changeset patch # User rubidium # Date 2014-05-16 17:38:59 # Node ID 0acd84047e700b0b01bd44a327ddfcd4432ba878 # Parent 15c4c42acddb075e0f2cf9cea7cbef2f2db8a77e (svn r26589) -Fix: SIGSEGV on all big endian architectures that tried to load e.g. the 1.4 intro game or anything else with more than 0 linkgraph nodes that was saved on little endian diff --git a/src/saveload/linkgraph_sl.cpp b/src/saveload/linkgraph_sl.cpp --- a/src/saveload/linkgraph_sl.cpp +++ b/src/saveload/linkgraph_sl.cpp @@ -23,7 +23,7 @@ typedef LinkGraph::BaseEdge Edge; const SettingDesc *GetSettingDescription(uint index); -static uint _num_nodes; +static uint16 _num_nodes; /** * Get a SaveLoad array for a link graph.