Commit fc49d6611f73d921b5c1c2f328662ae11e72a760
1 parent
5a135e77
Fixed call
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
@@ -67,9 +67,10 @@ int calculateInteraction(int act, int x, int y) | @@ -67,9 +67,10 @@ int calculateInteraction(int act, int x, int y) | ||
67 | case SC_HOME: | 67 | case SC_HOME: |
68 | return act; | 68 | return act; |
69 | case SC_MAIN: | 69 | case SC_MAIN: |
70 | - strcat(filename, "map/main.map"); | 70 | + strcpy(filename, "map/main.map"); |
71 | break; | 71 | break; |
72 | default: | 72 | default: |
73 | + printx(ERROR, UI, "Unrecognized state %d\n", act); | ||
73 | return act; | 74 | return act; |
74 | } | 75 | } |
75 | 76 |