]> git.localhorst.tv Git - l2e.git/commitdiff
moved test trigger to door coordinates
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Sat, 6 Oct 2012 20:22:05 +0000 (22:22 +0200)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Sat, 6 Oct 2012 20:22:05 +0000 (22:22 +0200)
src/main.cpp

index 4598f7012b6f2c7a0faa843339adbf3102c1b048..f4f696568f7c09cfd0b41038758d9551031813d7 100644 (file)
@@ -394,7 +394,7 @@ int main(int argc, char **argv) {
                areas[1].SetWidth(8);
 
                Trigger triggers[1];
-               triggers[0].SetTilePosition(Vector<int>(2, 0));
+               triggers[0].SetTilePosition(Vector<int>(8, 3));
 
                SDL_Surface *tilesetImg(IMG_Load("test-data/tileset.png"));
                Sprite tileset(tilesetImg, tileSize, tileSize);