summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-08 12:28:03 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-08 12:28:03 +0000
commit7bfcaa365f27cbd8db87215aaaa9dec92b0edfa0 (patch)
tree49912a4f5ed1e241e53c986d6fb5c0c819ea7b9e
parentcb2452c0149e4a4d1f9fa08bf1aafd146f3ca2de (diff)
downloadhercules-7bfcaa365f27cbd8db87215aaaa9dec92b0edfa0.tar.gz
hercules-7bfcaa365f27cbd8db87215aaaa9dec92b0edfa0.tar.bz2
hercules-7bfcaa365f27cbd8db87215aaaa9dec92b0edfa0.tar.xz
hercules-7bfcaa365f27cbd8db87215aaaa9dec92b0edfa0.zip
- Added missing header to mapcache.c
- Fixed a documentation typo for 'makeitem' git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10184 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--doc/script_commands.txt12
-rw-r--r--src/tool/mapcache.c1
2 files changed, 8 insertions, 5 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index 17d0483dd..1f159e7bc 100644
--- a/doc/script_commands.txt
+++ b/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
diff --git a/src/tool/mapcache.c b/src/tool/mapcache.c
index d8f37d2b9..133cfe0ed 100644
--- a/src/tool/mapcache.c
+++ b/src/tool/mapcache.c
@@ -9,6 +9,7 @@
#include <unistd.h>
#endif
+#include "../common/cbasetypes.h"
#include "grfio.h"
#define MAP_NAME_LENGTH 12