projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- fixed blackscreen on amd64 (and likely other 64bit archs), thanks to bug
[supertux.git]
/
lib
/
math
/
vector.h
diff --git
a/lib/math/vector.h
b/lib/math/vector.h
index
faedaff
..
dac4c95
100644
(file)
--- a/
lib/math/vector.h
+++ b/
lib/math/vector.h
@@
-48,6
+48,11
@@
namespace SuperTux
return x == other.x && y == other.y;
}
+ bool operator !=(const Vector& other) const
+ {
+ return !(x == other.x && y == other.y);
+ }
+
const Vector& operator=(const Vector& other)
{
x = other.x;