diff options
author | shennetsind <ind@henn.et> | 2013-10-10 18:59:10 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-10-10 18:59:10 -0300 |
commit | 646f7e2f4ea4bd6b07e66d2949817ebdc18f3484 (patch) | |
tree | b15f69a6934b1148faf398e8b19b710024078b09 /src/map/atcommand.c | |
parent | a2e01e40c9e60b8b2d75e4faf41d80a7041e8f93 (diff) | |
download | hercules-646f7e2f4ea4bd6b07e66d2949817ebdc18f3484.tar.gz hercules-646f7e2f4ea4bd6b07e66d2949817ebdc18f3484.tar.bz2 hercules-646f7e2f4ea4bd6b07e66d2949817ebdc18f3484.tar.xz hercules-646f7e2f4ea4bd6b07e66d2949817ebdc18f3484.zip |
Added code to disable auction for clients it is no longer stable
Regarding http://hercules.ws/board/topic/414-auction-feature-all-screwed-up
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 4933256a2..10c96e317 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -7956,10 +7956,14 @@ ACMD(feelreset) /*========================================== * AUCTION SYSTEM *------------------------------------------*/ -ACMD(auction) -{ +ACMD(auction) { nullpo_ret(sd); + if( !battle_config.feature_auction ) { + clif->colormes(sd->fd,COLOR_RED,msg_txt(1484)); + return false; + } + clif->auction_openwindow(sd); return true; |