From 493bcdd6946a2ba9a6a11a2443301ea42196e270 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 12 Apr 2005 19:17:01 +0000 Subject: [PATCH] Fixed bug --- examples/osgcatch/osgcatch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/osgcatch/osgcatch.cpp b/examples/osgcatch/osgcatch.cpp index 81632abc2..8d5791df3 100644 --- a/examples/osgcatch/osgcatch.cpp +++ b/examples/osgcatch/osgcatch.cpp @@ -565,7 +565,7 @@ bool GameEventHandler::handle(const osgGA::GUIEventAdapter& ea,osgGA::GUIActionA removeEntry = true; } - if ((*itr)->anyInside(_player1.getLowerLeft(),_player1.getUpperRight())) + if ((*itr)->anyInside(_player2.getLowerLeft(),_player2.getUpperRight())) { _player2.looseLife(); removeEntry = true;