summarylogtreecommitdiffstats
path: root/smc-get-to-world2.patch
diff options
context:
space:
mode:
Diffstat (limited to 'smc-get-to-world2.patch')
-rw-r--r--smc-get-to-world2.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/smc-get-to-world2.patch b/smc-get-to-world2.patch
new file mode 100644
index 000000000000..5d19b14e2f14
--- /dev/null
+++ b/smc-get-to-world2.patch
@@ -0,0 +1,19 @@
+--- a/smc/smc/src/overworld/world_manager.cpp 2014-07-13 17:11:53.337301000 +0200
++++ b/smc/smc/src/overworld/world_manager.cpp 2014-07-13 17:32:06.634548009 +0200
+@@ -204,6 +204,16 @@
+ {
+ return obj;
+ }
++ else if(obj->m_description->m_path.at(0) == '/')
++ {
++ std::string newPath ( obj->m_description->m_path );
++ newPath.erase(0,1);
++ if(newPath.compare( path ) == 0)
++ {
++ return obj;
++ }
++ }
++
+ }
+
+ return NULL;