this_player.c~
MudOSa4DGD/mudlib/dgd/lib/sys/efun/this_player.c~ · 412 B
From the archive MudOSa4DGD-30.06.98.tar.gz
Download the archive « Back to the archive contents
/*
* this_player.c
*
* Set/get who the current player is
*
* (C) Frank Schmidt, Jesus@NorseMUD
*
*/
#include <objects.h>
#ifdef MUDOS_THIS_PLAYER_1
static varargs object this_player(int i) {
return i ? GLOBAL->this_player1() : GLOBAL->this_player();
}
#else
static object this_player() {
return GLOBAL->this_player();
}
static object this_player1() {
return GLOBAL->this_player1();
}
#endif