From 705ab115b851c7ff8897ef442940dd8c6714f751 Mon Sep 17 00:00:00 2001 From: James Chen Date: Mon, 10 Mar 2014 15:40:48 +0800 Subject: [PATCH] Reuse the resources in cpp-tests. --- build/cocos2d_samples.xcodeproj/project.pbxproj.REMOVED.git-id | 2 +- samples/lua-tests/project/Classes/AppDelegate.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/cocos2d_samples.xcodeproj/project.pbxproj.REMOVED.git-id b/build/cocos2d_samples.xcodeproj/project.pbxproj.REMOVED.git-id index b8e29c11a7..4936b3446c 100644 --- a/build/cocos2d_samples.xcodeproj/project.pbxproj.REMOVED.git-id +++ b/build/cocos2d_samples.xcodeproj/project.pbxproj.REMOVED.git-id @@ -1 +1 @@ -f990b31eefc9c1e77b714ac8cd2a7b99ba5afc19 \ No newline at end of file +828f0bfcdb53dea52131e3bd9fb86ba153449816 \ No newline at end of file diff --git a/samples/lua-tests/project/Classes/AppDelegate.cpp b/samples/lua-tests/project/Classes/AppDelegate.cpp index d5ef19cd2a..a096268e98 100644 --- a/samples/lua-tests/project/Classes/AppDelegate.cpp +++ b/samples/lua-tests/project/Classes/AppDelegate.cpp @@ -58,7 +58,7 @@ bool AppDelegate::applicationDidFinishLaunching() register_assetsmanager_test_sample(stack->getLuaState()); #endif - std::string resPrefix("res/"); + std::string resPrefix(""); std::vector searchPaths = pFileUtils->getSearchPaths(); searchPaths.insert(searchPaths.begin(), resPrefix);