Просмотр исходного кода

script_command example has unmatched ')' (#5177)

Counter productive when copy pasting example for modification
Mark Hester 4 лет назад
Родитель
Сommit
7d3064c667
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      doc/script_commands.txt

+ 1 - 1
doc/script_commands.txt

@@ -1641,7 +1641,7 @@ S_CheckFull:
 
 Example 2: callsub used repeatedly, with different arguments
 // notice how the Zeny check/delete is reused, instead of copy-pasting for every warp
-	switch(select("Abyss Lake:Amatsu Dungeon:Anthell:Ayothaya Dungeon:Beacon Island, Pharos") {
+	switch(select("Abyss Lake:Amatsu Dungeon:Anthell:Ayothaya Dungeon:Beacon Island, Pharos")) {
 		case 1:	callsub S_DunWarp,"hu_fild05",192,207;
 		case 2:	callsub S_DunWarp,"ama_in02",119,181;
 		case 3:	callsub S_DunWarp,"moc_fild20",164,145;