Преглед изворни кода

add missing colon and change the files in the project

rachels пре 2 година
родитељ
комит
bc7e79fe4b
2 измењених фајлова са 2 додато и 3 уклоњено
  1. 1 2
      glife.qproj
  2. 1 1
      locations/npc.qsrc

+ 1 - 2
glife.qproj

@@ -44,7 +44,6 @@
 		<Location name="pattest"/>
 		<Location name="pattest"/>
 		<Location name="subkid"/>
 		<Location name="subkid"/>
 		<Location name="set_home"/>
 		<Location name="set_home"/>
-		<Location name="npc_age"/>
 	</Folder>
 	</Folder>
 	<Folder name="Functions">
 	<Folder name="Functions">
 		<Location name="indik"/>
 		<Location name="indik"/>
@@ -234,7 +233,7 @@
 		<Location name="npcstatic4"/>
 		<Location name="npcstatic4"/>
 		<Location name="npcstatic5"/>
 		<Location name="npcstatic5"/>
 		<Location name="fight_npcdata"/>
 		<Location name="fight_npcdata"/>
-		<Location name="npc_intro"/>
+		<Location name="npc"/>
 		<Location name="saveupdater"/>
 		<Location name="saveupdater"/>
 		<Location name="NPCChanger"/>
 		<Location name="NPCChanger"/>
 	</Folder>
 	</Folder>

+ 1 - 1
locations/npc.qsrc

@@ -17,7 +17,7 @@ if $ARGS[0] = 'age':
 	killvar 'currnpc_age'
 	killvar 'currnpc_age'
 end
 end
 
 
-if $ARGS[0] = 'intro'
+if $ARGS[0] = 'intro':
 	!! this procedure is designed for introduction of any npc either with standard or with custom description
 	!! this procedure is designed for introduction of any npc either with standard or with custom description
 	!! $ARGS[1] is ID number of npc... required parameter
 	!! $ARGS[1] is ID number of npc... required parameter
 	!! $ARGS[2] is an image path
 	!! $ARGS[2] is an image path