From 280c2755b376bd7f09563844c131c07907460071 Mon Sep 17 00:00:00 2001 From: andyque Date: Fri, 11 Apr 2014 16:47:35 +0800 Subject: [PATCH] closed #4761. fix a compile error --- tests/cpp-tests/Classes/TileMapTest/TileMapTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/cpp-tests/Classes/TileMapTest/TileMapTest.cpp b/tests/cpp-tests/Classes/TileMapTest/TileMapTest.cpp index cb4fc40acb..ac00064941 100644 --- a/tests/cpp-tests/Classes/TileMapTest/TileMapTest.cpp +++ b/tests/cpp-tests/Classes/TileMapTest/TileMapTest.cpp @@ -118,9 +118,9 @@ void TileDemo::onEnter() BaseTest::onEnter(); } -void TileMapTestScene::onExit() +void TileDemo::onExit() { - TileDemo::onExit(); + BaseTest::onExit(); Director::getInstance()->setDepthTest(false); } void TileDemo::restartCallback(Ref* sender)