Jelajahi Sumber

Follow up to 8b3b32e
* Revert code, found problem with npcshopattach

Napster 9 tahun lalu
induk
melakukan
0c9bd301d8
1 mengubah file dengan 0 tambahan dan 3 penghapusan
  1. 0 3
      src/map/script.c

+ 0 - 3
src/map/script.c

@@ -16395,9 +16395,6 @@ BUILDIN_FUNC(callshop)
 		return SCRIPT_CMD_FAILURE;
 	}
 
-	if( sd->st )
-		sd->st->state = END;	// Fixed can't move [Naspter]
-
 	if (nd->subtype == NPCTYPE_SHOP || nd->subtype == NPCTYPE_ITEMSHOP || nd->subtype == NPCTYPE_POINTSHOP) {
 		// flag the user as using a valid script call for opening the shop (for floating NPCs)
 		sd->state.callshop = 1;