From e23a881bda504fd107eea267ba164a6060c0ecb7 Mon Sep 17 00:00:00 2001 From: fgenesis Date: Thu, 11 Aug 2011 23:43:55 +0200 Subject: [PATCH] fix ActionMapper crash (thx PL) --- BBGE/ActionMapper.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/BBGE/ActionMapper.cpp b/BBGE/ActionMapper.cpp index d670d0b..84003ef 100644 --- a/BBGE/ActionMapper.cpp +++ b/BBGE/ActionMapper.cpp @@ -409,6 +409,7 @@ void ActionMapper::onUpdate (float dt) } if (core->loopDone) goto out; } + if (cleared) { cleared = false; goto out; } // actionData has been cleared, stop iteration } } }