mirror of https://github.com/axmolengine/axmol.git
remove unnecessary reload in terrain test
This commit is contained in:
parent
176532eef4
commit
0649f9709c
|
@ -127,7 +127,6 @@ void TerrainWalkThru::onTouchesBegan(const std::vector<cocos2d::Touch*>& touches
|
|||
|
||||
void TerrainWalkThru::onTouchesEnd(const std::vector<cocos2d::Touch*>& touches, cocos2d::Event* event)
|
||||
{
|
||||
_terrain->reload();
|
||||
auto touch = touches[0];
|
||||
auto location = touch->getLocationInView();
|
||||
if(_camera)
|
||||
|
|
Loading…
Reference in New Issue