diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-03-19 00:03:33 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-03-19 00:03:33 +0000 |
commit | 0f7927ab8aadc2c6f42c70d2809b357efc4ddb2f (patch) | |
tree | e40d35465465b9e87e0453321968fa8345621b4b /src/being.cpp | |
parent | 9d4197b066ddb65ca1caf0ca2363f9909895d608 (diff) | |
download | mana-0f7927ab8aadc2c6f42c70d2809b357efc4ddb2f.tar.gz mana-0f7927ab8aadc2c6f42c70d2809b357efc4ddb2f.tar.bz2 mana-0f7927ab8aadc2c6f42c70d2809b357efc4ddb2f.tar.xz mana-0f7927ab8aadc2c6f42c70d2809b357efc4ddb2f.zip |
Added handling of window close button.
Diffstat (limited to 'src/being.cpp')
-rw-r--r-- | src/being.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being.cpp b/src/being.cpp index 93496ea6..a02ad79f 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -160,12 +160,12 @@ void Being::nextStep() if (newX > oldX) { if (newY > oldY) direction = SE; else if (newY < oldY) direction = NE; - else direction = EAST; + else direction = EAST; } else if (newX < oldX) { if (newY > oldY) direction = SW; else if (newY < oldY) direction = NW; - else direction = WEST; + else direction = WEST; } else { if (newY > oldY) direction = SOUTH; |