From 698f9839c5b10bbc44ab6c9f1aff52a08f967e61 Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Thu, 7 Feb 2008 08:27:59 +0000 Subject: [PATCH] added mapname command git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1611 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/clientgame.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/src/clientgame.cpp b/source/src/clientgame.cpp index 5d72b5b4..85f5ee35 100644 --- a/source/src/clientgame.cpp +++ b/source/src/clientgame.cpp @@ -29,6 +29,9 @@ extern int framesinmap; char *getclientmap() { return clientmap; } +void mapname() { result(getclientmap()); } +COMMAND(mapname, ARG_NONE); + extern bool c2sinit, senditemstoserver; void setskin(playerent *pl, uint skin)