update terrain test

This commit is contained in:
tangziwen 2015-04-09 09:39:27 +08:00
parent 2be309d841
commit 58a9e43c9c
1 changed files with 1 additions and 0 deletions

View File

@ -127,6 +127,7 @@ 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)