Przeglądaj źródła

- Fixed extra curly brace in r16879... T_T

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16880 54d463be-8e91-2dee-dedb-b68131a5f0ec
brianluau 12 lat temu
rodzic
commit
07512c2353
1 zmienionych plików z 2 dodań i 3 usunięć
  1. 2 3
      src/map/pc.c

+ 2 - 3
src/map/pc.c

@@ -4660,9 +4660,8 @@ int pc_setpos(struct map_session_data* sd, unsigned short mapindex, int x, int y
 			sd->regen.state.gc = 0;
 		// make sure vending is allowed here
 		if (sd->state.vending && map[m].flag.novending) {
-				clif_displaymessage (sd->fd, msg_txt(276)); // "You can't open a shop on this map"
-				vending_closevending(sd);
-			}
+			clif_displaymessage (sd->fd, msg_txt(276)); // "You can't open a shop on this map"
+			vending_closevending(sd);
 		}
 	}