Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2004-10-16 22:13:00 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2004-10-16 22:13:00 +0400
commit333f0a29db13fbc62d483ef5e4953be9a56de330 (patch)
tree71606e44eddddb94e5fcf23bd7f9ea47857f9863 /source/gameengine
parent65a878a24a488f96d7e220a18c92a414d5e8aa6f (diff)
Added #include <assert.h> so it compiles where assert() was used.
Diffstat (limited to 'source/gameengine')
-rw-r--r--source/gameengine/GameLogic/SCA_EventManager.cpp3
-rw-r--r--source/gameengine/GameLogic/SCA_IInputDevice.cpp1
2 files changed, 3 insertions, 1 deletions
diff --git a/source/gameengine/GameLogic/SCA_EventManager.cpp b/source/gameengine/GameLogic/SCA_EventManager.cpp
index cf4af636290..9c39b332d40 100644
--- a/source/gameengine/GameLogic/SCA_EventManager.cpp
+++ b/source/gameengine/GameLogic/SCA_EventManager.cpp
@@ -29,6 +29,7 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+#include <assert.h>
#include "SCA_EventManager.h"
#ifdef HAVE_CONFIG_H
@@ -67,7 +68,7 @@ void SCA_EventManager::NextFrame(double curtime, double fixedtime)
void SCA_EventManager::NextFrame()
{
- assert(false && "Event managers should override a NextFrame method");
+ assert(false); // && "Event managers should override a NextFrame method");
}
void SCA_EventManager::EndFrame()
diff --git a/source/gameengine/GameLogic/SCA_IInputDevice.cpp b/source/gameengine/GameLogic/SCA_IInputDevice.cpp
index 87d161ecabc..9641ee601fe 100644
--- a/source/gameengine/GameLogic/SCA_IInputDevice.cpp
+++ b/source/gameengine/GameLogic/SCA_IInputDevice.cpp
@@ -30,6 +30,7 @@
*/
#include <iostream.h>
+#include <assert.h>
#include "SCA_IInputDevice.h"
#ifdef HAVE_CONFIG_H