[Orxonox-commit 1095] r5816 - code/branches/core5/src/modules/gamestates
scheusso at orxonox.net
scheusso at orxonox.net
Sun Sep 27 22:17:07 CEST 2009
Author: scheusso
Date: 2009-09-27 22:17:06 +0200 (Sun, 27 Sep 2009)
New Revision: 5816
Modified:
code/branches/core5/src/modules/gamestates/GSLevel.cc
Log:
small bugfix (only 1 of 3 inputstates deleted when deactivating level)
thanks reto
Modified: code/branches/core5/src/modules/gamestates/GSLevel.cc
===================================================================
--- code/branches/core5/src/modules/gamestates/GSLevel.cc 2009-09-27 19:43:47 UTC (rev 5815)
+++ code/branches/core5/src/modules/gamestates/GSLevel.cc 2009-09-27 20:17:06 UTC (rev 5816)
@@ -195,6 +195,8 @@
if (this->scope_GSLevel_)
{
+ InputManager::getInstance().destroyState("guiKeysOnly");
+ InputManager::getInstance().destroyState("guiMouseOnly");
delete this->scope_GSLevel_;
this->scope_GSLevel_ = NULL;
}
More information about the Orxonox-commit
mailing list