summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml1
-rw-r--r--cInput.h2
-rw-r--r--cObjectHandler.cpp2
3 files changed, 4 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..396992a
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1 @@
+language: cpp
diff --git a/cInput.h b/cInput.h
index e0d1632..49d13b7 100644
--- a/cInput.h
+++ b/cInput.h
@@ -30,7 +30,7 @@ struct sInputEvent
unsigned int type;
unsigned char c;
unsigned int b;
- unsigned int x, y;
+ int x, y;
};
class cInput
diff --git a/cObjectHandler.cpp b/cObjectHandler.cpp
index d88af92..dba0b77 100644
--- a/cObjectHandler.cpp
+++ b/cObjectHandler.cpp
@@ -228,4 +228,6 @@ int cObjectHandler::rotateWiremesh(int _mesh, sCoord3d _angle)
return 1;
meshes[_mesh]->rotate(_angle);
+
+ return 0;
}