summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/area.c4
-rw-r--r--src/main.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/area.c b/src/area.c
index e605c6c..0c3bc3a 100644
--- a/src/area.c
+++ b/src/area.c
@@ -178,8 +178,8 @@ render_area_to_surface(struct area *area, SDL_Rect *arearect,
SDL_MapRGB(surface->format, 0, 0, 0));
/* For demo */
- tmprect.x = dstrect.x + 120 - 8;
- tmprect.y = dstrect.y + 80 - 12;
+ tmprect.x = dstrect.x + 160 - 8;
+ tmprect.y = dstrect.y + 120 - 12;
tmprect.w = 16;
tmprect.h = 20;
diff --git a/src/main.c b/src/main.c
index 35d736f..a8700cd 100644
--- a/src/main.c
+++ b/src/main.c
@@ -57,7 +57,7 @@ main(void)
struct map_exit *e;
init();
- vp = init_viewport(240, 160, 8);
+ vp = init_viewport(320, 240, 8);
map = map_get(MAPSDIR "/forest1-8bit.tmx");
if (map == NULL) {