]> git.localhorst.tv Git - l2e.git/commitdiff
fix blocking flag of guy
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Fri, 5 Oct 2012 20:47:27 +0000 (22:47 +0200)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Fri, 5 Oct 2012 20:47:27 +0000 (22:47 +0200)
src/main.cpp

index a75a08782190fb29a9d253fe1b686907c21cf408..bf57b848a280d12fbb94b8b0ed179e18e211e24b 100644 (file)
@@ -354,7 +354,7 @@ int main(int argc, char **argv) {
                mapGuy.SetAnimation(&mapGuyAnimation);
                mapGuy.Position() = Vector<float>(64, 128);
                mapGuy.SpriteOffset() = Vector<float>(0, -32);
-               mapSelan.SetFlags(Entity::FLAG_NONBLOCKING);
+               mapGuy.SetFlags(Entity::FLAG_NONBLOCKING);
                mapSelan.AddFollower(&mapGuy);
 
                SDL_Surface *mapDekarImg(IMG_Load("test-data/dekar-map.png"));