From e6561937e7dc04777a245369b2ae7e8922e9b385 Mon Sep 17 00:00:00 2001 From: hristov Date: Tue, 17 Feb 2004 17:38:12 +0000 Subject: [PATCH] Additional protection --- STEER/AliDisplay.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/STEER/AliDisplay.cxx b/STEER/AliDisplay.cxx index 8bb6bf67a1d..e9de668804c 100644 --- a/STEER/AliDisplay.cxx +++ b/STEER/AliDisplay.cxx @@ -848,8 +848,8 @@ void AliDisplay::LoadPoints() AliDetector* detector = dynamic_cast(module); if(detector) { - detector->TreeH()->GetEvent(track); - detector->LoadPoints(track); + if (detector->TreeH()->GetEvent(track)) + detector->LoadPoints(track); } } next.Reset(); -- 2.39.3