From 0649f9709caa83f9aba6b31ae4f82d280969028d Mon Sep 17 00:00:00 2001 From: tangziwen Date: Thu, 9 Apr 2015 10:20:06 +0800 Subject: [PATCH] remove unnecessary reload in terrain test --- tests/cpp-tests/Classes/TerrainTest/TerrainTest.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/cpp-tests/Classes/TerrainTest/TerrainTest.cpp b/tests/cpp-tests/Classes/TerrainTest/TerrainTest.cpp index 3610dcbb07..d2dcbc4acc 100644 --- a/tests/cpp-tests/Classes/TerrainTest/TerrainTest.cpp +++ b/tests/cpp-tests/Classes/TerrainTest/TerrainTest.cpp @@ -127,7 +127,6 @@ void TerrainWalkThru::onTouchesBegan(const std::vector& touches void TerrainWalkThru::onTouchesEnd(const std::vector& touches, cocos2d::Event* event) { - _terrain->reload(); auto touch = touches[0]; auto location = touch->getLocationInView(); if(_camera)