- Fixed a bug in @commands, most likely the reason some people were still getting crashes.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6500 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
5d6f207df6
commit
91bae7f498
@ -4,6 +4,8 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
|
||||
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
|
||||
|
||||
2006/05/05
|
||||
* Fixed a bug in @commands, most likely the reason some people were still
|
||||
getting crashes. [Skotlex]
|
||||
* Fixed @commands not showing the last available commands (unless the total
|
||||
amount of commands is divisible by ten) [Skotlex]
|
||||
* Added a npc-script-event cache to avoid looking up event-scripts every
|
||||
|
@ -1174,7 +1174,7 @@ int atcommand_commands(const int fd, struct map_session_data* sd,
|
||||
|
||||
clif_displaymessage(fd, msg_txt(273));
|
||||
memset(atcmd_output, 0, sizeof atcmd_output);
|
||||
for (i = 0; atcommand_info[i].type != AtCommand_None; i++)
|
||||
for (i = 0; atcommand_info[i].type != AtCommand_Unknown; i++)
|
||||
if (atcommand_info[i].level <= level && atcommand_info[i].command) {
|
||||
count++;
|
||||
strcat(atcmd_output, atcommand_info[i].command);
|
||||
|
Loading…
x
Reference in New Issue
Block a user