Przeglądaj źródła

- Added missing header to mapcache.c
- Fixed a documentation typo for 'makeitem'

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10184 54d463be-8e91-2dee-dedb-b68131a5f0ec

ultramage 18 lat temu
rodzic
commit
f6cc6e26d3
2 zmienionych plików z 8 dodań i 5 usunięć
  1. 7 5
      doc/script_commands.txt
  2. 1 0
      src/tool/mapcache.c

+ 7 - 5
doc/script_commands.txt

@@ -71,6 +71,8 @@
 //=       Removed all .gat refferences from the examples [Lupus]
 //= 3.04.20070330
 //=       Adjusted the 'itemskill' description due to recent change [ultramage]
+//= 3.04.20070409
+//=       Fixed the incorrect order of parameters in 'makeitem' [ultramage]
 //===== Compatible With ===================================
 //= LOL, can be used by anyone hopefully
 //===== Description =======================================
@@ -3715,18 +3717,18 @@ Example:
 	}
 
 ---------------------------------------
-!!!!!!!!!!!!!!!
-*makeitem <item id>,<amount>,<X>,<Y>,"<map name>";
-*makeitem "<item name>",<amount>,<X>,<Y>,"<map name>";
+
+*makeitem <item id>,<amount>,"<map name>",<X>,<Y>;
+*makeitem "<item name>",<amount>,"<map name>",<X>,<Y>;
 
 This command will create an item lying around on a specified map in the 
 specified location.
 
  itemid   - Found in 'db/item_db.txt'
  amount   - Amount you want produced
+ map name - The map name
  X        - The X coordinate
- Y        - The Y coordinate
- map name - The map name.
+ Y        - The Y coordinate.
 
 This item will still disappear just like any other dropped item. Like 'getitem', 
 it also accepts an 'english name' field from the database and creates apples if 

+ 1 - 0
src/tool/mapcache.c

@@ -9,6 +9,7 @@
 #include <unistd.h>
 #endif
 
+#include "../common/cbasetypes.h"
 #include "grfio.h"
 
 #define MAP_NAME_LENGTH 12